Spaces:
Running
Running
Update src/rag_engine.py
Browse files- 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 =
|
| 87 |
-
chunk_overlap: int =
|
| 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 |
"""
|