Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GeminiAPIURL = "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions"
GeminiAPIURL is the correct API endpoint for Gemini.
Functions ¶
This section is empty.
Types ¶
type Choice ¶
type Choice struct {
Index int `json:"index"`
Message Message `json:"message"`
FinishReason string `json:"finish_reason"`
}
Choice represents an answer choice in the response.
type Client ¶
Client handles requests to the Gemini API.
Click to show internal directories.
Click to hide internal directories.