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 ¶ added in v0.0.7
type DefaultModelResponse struct {
ModelName string `json:"modelName"`
}
type EmbedRequest ¶ added in v0.0.6
type EmbedRequest struct {
Text string `json:"text"`
}
type EmbedResponse ¶ added in v0.0.6
type EmbedResponse struct {
Vector []float64 `json:"vector"`
}
Click to show internal directories.
Click to hide internal directories.