Skip to content

Update docs so that most examples show enabling only chunk indexes #237

Open
iansrobinson wants to merge 1 commit intomainfrom
doc-updates
Open

Update docs so that most examples show enabling only chunk indexes #237
iansrobinson wants to merge 1 commit intomainfrom
doc-updates

Conversation

@iansrobinson
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

By default the VectorStoreFactory creates both chunk and statement indexes. Statement indexes can by 10x larger than chunk indexes. Chunk indexes are used by traversal-based search; statement indexes by semantic-guided search.

Traversal-based search is the recommended query approach moving forwards. Applications that use only traversal-based search do not need to create statement indexes.

The documentation updates here show the VectorStoreFactory creating only a chunk index, thereby saving storage and embedding costs. The semantic-guided search documentation shows how to explicitly configure the VectorStoreFactory` to exhibit the current default behaviour (i.e. create both chunk and statement indexes), in anticipation that this default behaviour will change as semantic-guided search is retired.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant