Skip to content

Commit

Permalink
removed fast strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
George Burton committed Sep 11, 2024
1 parent 323df2b commit 2f20278
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions django_app/redbox_app/redbox_core/views/document_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
".bmp",
".jpeg",
".png",
".jpeg",
]
MAX_FILE_SIZE = 209715200 # 200 MB or 200 * 1024 * 1024

Expand Down
1 change: 0 additions & 1 deletion redbox-core/redbox/loader/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def lazy_load(self, file_name: str, file_bytes: BytesIO) -> Iterator[Document]:
url,
files=files,
data={
"strategy": "fast",
"chunking_strategy": "by_title",
"max_characters": self._max_chunk_size,
"combine_under_n_chars": self._min_chunk_size,
Expand Down

0 comments on commit 2f20278

Please sign in to comment.