[Question]: When searching vector databases, queries that have no parameters that will not meet the threshold requirements will be excluded. #13571
Labels
question
Further information is requested
Question Validation
Question
def rag(self, memory, index, prompt, k=1):
chat_engine = index.as_chat_engine(
chat_mode="condense_plus_context",
memory=memory,
temperature=0.9,
similarity_top_ps=0.9,
similarity_top_k=k,
)
result = self.transform_str(chat_engine.chat(prompt))
return result
this is my code, I want queries that do not meet the threshold requirement to be excluded when searching the index.
The text was updated successfully, but these errors were encountered: