Documentation ¶
Index ¶
- Constants
- Variables
- func WithVertexAIClient(client *genai.Client) pconf.Config
- type VertexAIProvider
- func (VertexAIProvider) NewEmbeddingClient(ctx context.Context, configs ...pconf.Config) (provider.EmbeddingClient, error)
- func (VertexAIProvider) NewLLMClient(ctx context.Context, configs ...pconf.Config) (provider.LLMClient, error)
- func (VertexAIProvider) NewTTSClient(ctx context.Context, configs ...pconf.Config) (provider.TTSClient, error)
Constants ¶
View Source
const ProviderName = "vertexai"
Variables ¶
Functions ¶
Types ¶
type VertexAIProvider ¶
type VertexAIProvider struct { }
var Provider VertexAIProvider
func (VertexAIProvider) NewEmbeddingClient ¶
func (VertexAIProvider) NewEmbeddingClient(ctx context.Context, configs ...pconf.Config) (provider.EmbeddingClient, error)
func (VertexAIProvider) NewLLMClient ¶
func (VertexAIProvider) NewTTSClient ¶
Click to show internal directories.
Click to hide internal directories.