Documentation ¶
Index ¶
Constants ¶
View Source
const EmbeddingProviderOllamaName = "ollama"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingProviderOllama ¶
type EmbeddingProviderOllama struct { BaseURL string `koanf:"baseURL" env:"OLLAMA_BASE_URL"` Model string `koanf:"model" env:"OLLAMA_MODEL" export:"required"` }
func (*EmbeddingProviderOllama) Config ¶
func (p *EmbeddingProviderOllama) Config() any
func (*EmbeddingProviderOllama) Configure ¶ added in v0.3.0
func (p *EmbeddingProviderOllama) Configure() error
func (*EmbeddingProviderOllama) EmbeddingFunc ¶
func (p *EmbeddingProviderOllama) EmbeddingFunc() (cg.EmbeddingFunc, error)
func (*EmbeddingProviderOllama) Name ¶
func (p *EmbeddingProviderOllama) Name() string
Click to show internal directories.
Click to hide internal directories.