NitinBot001 commited on
Commit
2c6da4b
·
verified ·
1 Parent(s): 8fca2fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,8 +68,8 @@ class Config:
68
  EMBEDDING_MODEL = os.getenv("EMBEDDING_MODEL", "text-embedding-ada-002")
69
 
70
  # Document Processing
71
- CHUNK_SIZE = 50
72
- CHUNK_OVERLAP = 20
73
 
74
  # Rate Limiting
75
  MAX_RETRIES = 5
@@ -80,7 +80,7 @@ class Config:
80
  # Model Parameters
81
  TEMPERATURE = 0.8
82
  MAX_OUTPUT_TOKENS = 120000
83
- RETRIEVER_K = 10
84
 
85
  # Paths
86
  INDEX_PATH = "faiss_maize_index"
 
68
  EMBEDDING_MODEL = os.getenv("EMBEDDING_MODEL", "text-embedding-ada-002")
69
 
70
  # Document Processing
71
+ CHUNK_SIZE = 1000
72
+ CHUNK_OVERLAP = 200
73
 
74
  # Rate Limiting
75
  MAX_RETRIES = 5
 
80
  # Model Parameters
81
  TEMPERATURE = 0.8
82
  MAX_OUTPUT_TOKENS = 120000
83
+ RETRIEVER_K = 20
84
 
85
  # Paths
86
  INDEX_PATH = "faiss_maize_index"