Documentation ¶
Index ¶
Constants ¶
View Source
const EmbeddingProviderJinaName = "jina"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingProviderJina ¶
type EmbeddingProviderJina struct { APIKey string `koanf:"apiKey" env:"JINA_API_KEY"` Model string `koanf:"model" env:"JINA_MODEL"` }
func New ¶
func New(c EmbeddingProviderJina) (*EmbeddingProviderJina, error)
func (*EmbeddingProviderJina) Config ¶
func (p *EmbeddingProviderJina) Config() any
func (*EmbeddingProviderJina) EmbeddingFunc ¶
func (p *EmbeddingProviderJina) EmbeddingFunc() (cg.EmbeddingFunc, error)
func (*EmbeddingProviderJina) Name ¶
func (p *EmbeddingProviderJina) Name() string
Click to show internal directories.
Click to hide internal directories.