File size: 703 Bytes
a4538e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# RAG System Configuration
rag:
  embedding:
    model: "all-MiniLM-L6-v2"
    chunk_size: 1000
    chunk_overlap: 200

  vectorstore:
    persist_dir: "faiss_store"
    index_type: "faiss"

  llm:
    provider: "groq"
    model: "llama-3.1-8b-instant"
    temperature: 0.1
    max_tokens: 1000

  retrieval:
    top_k: 5
    similarity_threshold: 0.7

# API Configuration
api:
  host: "0.0.0.0"
  port: 8000
  cors_origins: "*"
  reload: true

# Data Configuration
data:
  input_dir: "data"
  supported_formats:
    - "pdf"
    - "txt"
    - "csv"
    - "xlsx"
    - "docx"
    - "json"

# Logging Configuration
logging:
  level: "INFO"
  format: "[%(levelname)s] %(asctime)s - %(name)s - %(message)s"