private

package
v0.0.0-...-a5482e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskAI

func AskAI(services *service.Services) gin.HandlerFunc

AskAI handles AI requests

Types

type AskAIRequest

type AskAIRequest struct {
	Model   string
	Prompt  string
	AIModel commonEnum.AIModel
}

type AskAIResponse

type AskAIResponse struct {
	enum.BaseResponse
	Model  string `json:"model"`
	Answer string `json:"answer"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL