Skip to content

Commit 22fe48a

Browse files
committed
updatd indexing param
1 parent 1dbd2d8 commit 22fe48a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/indexing/build_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def build_aisearch_index(index_name, path_to_data):
5151
)
5252
),
5353
embeddings_cache_path="./indexing",
54-
tokens_per_chunk = 5096, # Optional field - Maximum number of tokens per chunk
55-
token_overlap_across_chunks = 1024, # Optional field - Number of tokens to overlap between chunks
54+
tokens_per_chunk = 800, # Optional field - Maximum number of tokens per chunk
55+
token_overlap_across_chunks = 0, # Optional field - Number of tokens to overlap between chunks
5656
)
5757
print(f"Local Path: {index_path}")
5858

0 commit comments

Comments
 (0)