Documentation ¶ Index ¶ func CreateVectorStore(ctx context.Context, config config.Config, ollamaClient *api.Client, ...) error type RagConfig func LoadRagConfig(path string) (RagConfig, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateVectorStore ¶ func CreateVectorStore(ctx context.Context, config config.Config, ollamaClient *api.Client, ollamaRawUrl, embeddingsModel string) error Types ¶ type RagConfig ¶ type RagConfig struct { ChunkSize int `json:"chunkSize"` ChunkOverlap int `json:"chunkOverlap"` SimilarityThreshold float64 `json:"similarityThreshold"` MaxSimilarity int `json:"maxSimilarity"` } func LoadRagConfig ¶ func LoadRagConfig(path string) (RagConfig, error) Source Files ¶ View all Source files config.go create-store.go Click to show internal directories. Click to hide internal directories.