Documentation ¶
Index ¶
- func AbortHandler(c echo.Context) error
- func CreateCompletionHandler(c echo.Context) error
- func ExecuteTaskHandler(c echo.Context) error
- func InferHandler(c echo.Context) error
- func LoadModelHandler(c echo.Context) error
- func ModelsStateHandler(c echo.Context) error
- func OpenAiListModels(c echo.Context) error
- func ParseInferParams(m echo.Map) (string, string, types.ModelConf, types.InferenceParams, error)
- func ReadTaskHandler(c echo.Context) error
- func ReadTasksHandler(c echo.Context) error
- func RunServer(origins []string, apiKey string, localMode bool, enableOai bool, ...)
- func SaveTaskHandler(c echo.Context) error
- func UnloadModelHandler(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortHandler ¶
func AbortHandler(c echo.Context) error
func CreateCompletionHandler ¶
func CreateCompletionHandler(c echo.Context) error
Create an Openai api for /v1/chat/completion
func ExecuteTaskHandler ¶
func ExecuteTaskHandler(c echo.Context) error
func InferHandler ¶
func InferHandler(c echo.Context) error
func LoadModelHandler ¶
func LoadModelHandler(c echo.Context) error
func ModelsStateHandler ¶
func ModelsStateHandler(c echo.Context) error
func OpenAiListModels ¶
func OpenAiListModels(c echo.Context) error
func ParseInferParams ¶
func ReadTaskHandler ¶
func ReadTaskHandler(c echo.Context) error
func ReadTasksHandler ¶
func ReadTasksHandler(c echo.Context) error
func SaveTaskHandler ¶
func SaveTaskHandler(c echo.Context) error
func UnloadModelHandler ¶
func UnloadModelHandler(c echo.Context) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.