Parameterize number of documentation documents retrieved #352
GiacomoPracucci
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
@GiacomoPracucci I just had this issue myself. The solution is technically sound to me. Feel free to open a PR and others can review and test the solution there :] |
Beta Was this translation helpful? Give feedback.
1 reply
-
@GiacomoPracucci Does the latest version of vanna already include this feature? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with ChromaDB with many small documentation documents and need to increase the number of retrieved documentation documents from the vectorstore.
I modified the chromadb_vector.py file in this way, trying to keep the n_results referring to sql documents and the n_results referring to documentation documents separate.
and
The code correctly returns the number of sql and documentation documents given in the parameters. Does the procedure look correct to you? Could it be worth opening a PR?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions