Documentation ¶
Index ¶
Constants ¶
View Source
const EmbeddingProviderVertexName = "vertex"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingProviderVertex ¶
type EmbeddingProviderVertex struct { APIKey string `koanf:"apiKey" env:"VERTEX_API_KEY" export:"false"` APIEndpoint string `koanf:"apiEndpoint" env:"VERTEX_API_ENDPOINT" export:"true"` Project string `koanf:"project" env:"VERTEX_PROJECT" export:"true"` Model string `koanf:"model" env:"VERTEX_MODEL" export:"required"` }
func (*EmbeddingProviderVertex) Config ¶
func (p *EmbeddingProviderVertex) Config() any
func (*EmbeddingProviderVertex) Configure ¶ added in v0.3.0
func (p *EmbeddingProviderVertex) Configure() error
func (*EmbeddingProviderVertex) EmbeddingFunc ¶
func (p *EmbeddingProviderVertex) EmbeddingFunc() (cg.EmbeddingFunc, error)
func (*EmbeddingProviderVertex) Name ¶
func (p *EmbeddingProviderVertex) Name() string
Click to show internal directories.
Click to hide internal directories.