Documentation ¶
Index ¶
Constants ¶
View Source
const EmbeddingProviderMistralName = "mistral"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingProviderMistral ¶
type EmbeddingProviderMistral struct { APIKey string `koanf:"apiKey" env:"MISTRAL_API_KEY" export:"false"` Model string `koanf:"model" env:"MISTRAL_MODEL" export:"required"` }
func (*EmbeddingProviderMistral) Config ¶
func (p *EmbeddingProviderMistral) Config() any
func (*EmbeddingProviderMistral) Configure ¶ added in v0.3.0
func (p *EmbeddingProviderMistral) Configure() error
func (*EmbeddingProviderMistral) EmbeddingFunc ¶
func (p *EmbeddingProviderMistral) EmbeddingFunc() (cg.EmbeddingFunc, error)
func (*EmbeddingProviderMistral) Name ¶
func (p *EmbeddingProviderMistral) Name() string
Click to show internal directories.
Click to hide internal directories.