vanna icon indicating copy to clipboard operation
vanna copied to clipboard

How to retrieve fewer question-answer pairs from chromaDB

Open philippschw opened this issue 5 months ago • 0 comments

I am running into token limits, is it possible to limit the number of question-answer pairs that are being retrieved when running the function get_similar_question_sql ?

I see chromadb has the argument: n_results=10. Just struggling to actually make use of it in the vanna.ai framework.

Thanks!

philippschw avatar Jan 30 '24 15:01 philippschw