NavyDevilDoc commited on
Commit
b2968b1
·
verified ·
1 Parent(s): 4b06941

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,9 +83,9 @@ 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 = 512,
87
  chunk_overlap: int = 50,
88
- model_name: str = "gpt-4"
89
  ) -> List[Document]:
90
  """
91
  Main chunking engine. Routes file to specific chunkers based on type/strategy.
 
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
  """
91
  Main chunking engine. Routes file to specific chunkers based on type/strategy.