Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.2.0
type Config struct {
EmbeddingsConfig EmbeddingsConfig `koanf:"embeddings" json:"embeddings,omitempty"`
}
func LoadConfig ¶ added in v0.2.0
type DatabaseConfig ¶
type EmbeddingsConfig ¶ added in v0.2.0
type EmbeddingsConfig struct { Provider string OpenAI openai.OpenAIConfig `koanf:"openai" json:"openai,omitempty"` Cohere cohere.EmbeddingModelProviderCohere `koanf:"cohere" json:"cohere,omitempty"` Vertex vertex.EmbeddingProviderVertex `koanf:"vertex" json:"vertex,omitempty"` Jina jina.EmbeddingProviderJina `koanf:"jina" json:"jina,omitempty"` Mistral mistral.EmbeddingProviderMistral `koanf:"mistral" json:"mistral,omitempty"` Mixedbread mixedbread.EmbeddingProviderMixedbread `koanf:"mixedbread" json:"mixedbread,omitempty"` LocalAI localai.EmbeddingProviderLocalAI `koanf:"localai" json:"localai,omitempty"` Ollama ollama.EmbeddingProviderOllama `koanf:"ollama" json:"ollama,omitempty"` }
type VectorDBConfig ¶
type VectorDBConfig struct {
VectorDBPath string `` /* 139-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.