init
This commit is contained in:
parent
bf77361081
commit
cb61a48c2b
3 changed files with 9 additions and 31 deletions
31
config.yaml
31
config.yaml
|
|
@ -1,31 +0,0 @@
|
||||||
# OpenRAG Configuration File
|
|
||||||
# This file allows you to configure OpenRAG settings.
|
|
||||||
# Environment variables will override these settings unless edited is true.
|
|
||||||
|
|
||||||
# Track if this config has been manually edited (prevents env var overrides)
|
|
||||||
edited: false
|
|
||||||
|
|
||||||
# Model provider configuration
|
|
||||||
provider:
|
|
||||||
# Supported providers: "openai", "anthropic", "azure", etc.
|
|
||||||
model_provider: "openai"
|
|
||||||
# API key for the model provider (can also be set via OPENAI_API_KEY env var)
|
|
||||||
api_key: ""
|
|
||||||
|
|
||||||
# Knowledge base and document processing configuration
|
|
||||||
knowledge:
|
|
||||||
# Embedding model for vector search
|
|
||||||
embedding_model: "text-embedding-3-small"
|
|
||||||
# Text chunk size for document processing
|
|
||||||
chunk_size: 1000
|
|
||||||
# Overlap between chunks
|
|
||||||
chunk_overlap: 200
|
|
||||||
# Docling preset setting
|
|
||||||
doclingPresets: standard
|
|
||||||
|
|
||||||
# AI agent configuration
|
|
||||||
agent:
|
|
||||||
# Language model for the chat agent
|
|
||||||
llm_model: "gpt-4o-mini"
|
|
||||||
# System prompt for the agent
|
|
||||||
system_prompt: "You are a helpful AI assistant with access to a knowledge base. Answer questions based on the provided context."
|
|
||||||
4
docs/docs/core-components/knowledge.mdx
Normal file
4
docs/docs/core-components/knowledge.mdx
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Knowledge stored with OpenSearch
|
||||||
|
slug: /knowledge
|
||||||
|
---
|
||||||
|
|
@ -56,6 +56,11 @@ const sidebars = {
|
||||||
id: "core-components/agents",
|
id: "core-components/agents",
|
||||||
label: "Langflow Agents"
|
label: "Langflow Agents"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
id: "core-components/knowledge",
|
||||||
|
label: "Knowledge stored with OpenSearch"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue