We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbd2d8 commit 22fe48aCopy full SHA for 22fe48a
src/indexing/build_index.py
@@ -51,8 +51,8 @@ def build_aisearch_index(index_name, path_to_data):
51
)
52
),
53
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
+ tokens_per_chunk = 800, # Optional field - Maximum number of tokens per chunk
+ token_overlap_across_chunks = 0, # Optional field - Number of tokens to overlap between chunks
56
57
print(f"Local Path: {index_path}")
58
0 commit comments