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