Open SohamKukreti opened 4 months ago
in /dbt_llm_tools/vector_store.py n_results has a default value set to 3.
/dbt_llm_tools/vector_store.py
def query_collection( self, query: str, n_results: int = 3 ) -> list[ParsedSearchResult]:
also in /client/pages/chat.py n_results is hardcoded to 4.
/client/pages/chat.py
def get_matching_models(query): return vector_store.query_collection(query=query, n_results=4)
Ideally we should have the vector store return all the models where the cosine distance is above a certain threshold value.
in
/dbt_llm_tools/vector_store.py
n_results has a default value set to 3.also in
/client/pages/chat.py
n_results is hardcoded to 4.Ideally we should have the vector store return all the models where the cosine distance is above a certain threshold value.