Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExecRoutes ¶
func AddExecRoutes(mux *http.ServeMux, promptService execservice.ExecService, taskService execservice.TasksEnvService, embedService embedservice.Service)
Types ¶
type DefaultModelResponse ¶
type DefaultModelResponse struct {
ModelName string `json:"modelName" example:"mistral:latest"`
}
type EmbedRequest ¶
type EmbedRequest struct {
Text string `json:"text" example:"Hello, world!"`
}
type EmbedResponse ¶
type EmbedResponse struct {
Vector []float64 `json:"vector" example:"[0.1, 0.2, 0.3, ...]"`
}
Click to show internal directories.
Click to hide internal directories.