Documentation ¶
Index ¶
- Constants
- 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 ¶
View Source
const REGION = "studio"
A unique identifier for the Gemini Studio provider
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func NewEndpoint ¶
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.