Documentation ¶
Index ¶
- type Endpoint
- func (ep *Endpoint) GenerateChatCompletion(ctx context.Context, openaiRequest *openai.ChatCompletionRequest) (*openai.ChatCompletionResponse, error)
- func (ep *Endpoint) Ping(ctx context.Context) (time.Duration, error)
- func (ep *Endpoint) Provider() string
- func (ep *Endpoint) Region() string
- func (ep *Endpoint) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func (*Endpoint) GenerateChatCompletion ¶
func (ep *Endpoint) GenerateChatCompletion(ctx context.Context, openaiRequest *openai.ChatCompletionRequest) (*openai.ChatCompletionResponse, error)
Click to show internal directories.
Click to hide internal directories.