Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatCompletionsLogic ¶
func NewChatCompletionsLogic ¶
func NewChatCompletionsLogic(ctx context.Context, svcCtx *svc.ServiceContext, w *http.ResponseWriter, r *http.Request) *ChatCompletionsLogic
func (*ChatCompletionsLogic) ChatCompletions ¶
func (l *ChatCompletionsLogic) ChatCompletions(req *types.ReqChatCompletion) (resp *types.ResChatCompletion, err error)
type EmbeddingsLogic ¶
func NewEmbeddingsLogic ¶
func NewEmbeddingsLogic(ctx context.Context, svcCtx *svc.ServiceContext, w *http.ResponseWriter, r *http.Request) *EmbeddingsLogic
func (*EmbeddingsLogic) Embeddings ¶
func (l *EmbeddingsLogic) Embeddings(req *types.ReqEmbeddings) (resp *types.ResEmbeddings, err error)
Click to show internal directories.
Click to hide internal directories.