handler

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAIHandler

type OpenAIHandler struct {
	// contains filtered or unexported fields
}

func NewOpenAIHandler

func NewOpenAIHandler() *OpenAIHandler

func (*OpenAIHandler) Chat

func (h *OpenAIHandler) Chat(c echo.Context) error

func (*OpenAIHandler) CreateEmbeddings

func (h *OpenAIHandler) CreateEmbeddings(c echo.Context) error

func (*OpenAIHandler) GetModels

func (h *OpenAIHandler) GetModels(c echo.Context) error

Jump to

Keyboard shortcuts

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