Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MODEL_NAME = "gemini-1.5-flash-001"
var MODEL_NAME = "gemini-pro" var MODEL_NAME = "gemini-1.5-pro-preview-0409"
Functions ¶
This section is empty.
Types ¶
type ClientOptions ¶
type GeminiClient ¶
func NewGeminiClient ¶
func NewGeminiClient(apiKey string) *GeminiClient
func (*GeminiClient) TokenCount ¶
func (gc *GeminiClient) TokenCount(s string) int
type VertexClient ¶
type VertexClient struct { GenClient Opts ClientOptions }
func NewVertexClient ¶
func NewVertexClient(opts ClientOptions) *VertexClient
func (*VertexClient) TokenCount ¶
func (gc *VertexClient) TokenCount(s string) int
Click to show internal directories.
Click to hide internal directories.