execapi

package
v0.0.76 Latest Latest
Warning

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

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

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, ...]"`
}

Jump to

Keyboard shortcuts

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