Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure the HNSW parameters in Chroma #161

Open
pmeier opened this issue Nov 3, 2023 · 0 comments
Open

Configure the HNSW parameters in Chroma #161

pmeier opened this issue Nov 3, 2023 · 0 comments

Comments

@pmeier
Copy link
Member

pmeier commented Nov 3, 2023

# FIXME: querying only a low number of documents can lead to not finding
# the most relevant one.
# See https://github.com/chroma-core/chroma/issues/1205 for details.
# Instead of just querying more documents here, we should use the
# appropriate index parameters when creating the collection. However,
# they are undocumented for now.
max(int(num_tokens * 2 / chunk_size), 100),

"Documentation" of the available parameters and their defaults is in chroma-core/chroma#1205 (comment).

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

No branches or pull requests

1 participant