Skip to content

Commit

Permalink
try bigger chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Jun 27, 2024
1 parent 99cfd53 commit 24c14b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc_builder/build_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def create_markdown_chunks(text, page_info=None):
if root is None:
return []

chunks = root.get_chunks(page_info, chunk_len_chars=400)
CHUNK_LEN_CHARS = 2000
chunks = root.get_chunks(page_info, chunk_len_chars=CHUNK_LEN_CHARS)
return chunks


Expand Down

0 comments on commit 24c14b4

Please sign in to comment.