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"` APIEndpoint string `koanf:"apiEndpoint" env:"VERTEX_API_ENDPOINT"` Project string `koanf:"project" env:"VERTEX_PROJECT"` Model string `koanf:"model" env:"VERTEX_MODEL"` }
func New ¶
func New(c EmbeddingProviderVertex) (*EmbeddingProviderVertex, error)
func (*EmbeddingProviderVertex) Config ¶
func (p *EmbeddingProviderVertex) Config() any
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.