Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatExecutor ¶
func NewChatExecutor ¶
func NewChatExecutor(pool *accounts.Pool, workerKey string) ChatExecutor
func (ChatExecutor) ChatNonStream ¶
func (e ChatExecutor) ChatNonStream(ctx context.Context, req translate.ChatRequest, prefer string) (ChatResult, error)
func (ChatExecutor) ChatStreamProxy ¶
func (e ChatExecutor) ChatStreamProxy(ctx context.Context, req translate.ChatRequest, prefer string) (*http.Response, string, error)
type ChatResult ¶
Click to show internal directories.
Click to hide internal directories.