NavyDevilDoc commited on
Commit
ae9a929
·
verified ·
1 Parent(s): 2bf803c

Update src/rag_engine.py

Browse files
Files changed (1) hide show
  1. src/rag_engine.py +2 -2
src/rag_engine.py CHANGED
@@ -83,8 +83,8 @@ def _process_markdown(file_path: str, chunk_size: int = 1000, chunk_overlap: int
83
  def process_file(
84
  file_path: str,
85
  chunking_strategy: Literal["paragraph", "token"] = "paragraph",
86
- chunk_size: int = 256,
87
- chunk_overlap: int = 50,
88
  model_name: str = "gpt-4o"
89
  ) -> List[Document]:
90
  """
 
83
  def process_file(
84
  file_path: str,
85
  chunking_strategy: Literal["paragraph", "token"] = "paragraph",
86
+ chunk_size: int = 512,
87
+ chunk_overlap: int = 100,
88
  model_name: str = "gpt-4o"
89
  ) -> List[Document]:
90
  """