Find answers from the community

Updated last year

Hello everyone I m in the process of

Hello, everyone. I'm in the process of building a chatbot that needs to query a knowledge base. I have created embeddings for my documents and stored them in qdrand. I've tried using the condense_question chat mode, but when I attempt to query the same question multiple times consecutively, the question changes each time I ask it. This variation affects the similarity search and, consequently, impacts my response. Do you have any suggestions to address this issue?
L
A
3 comments
The condense question engine re-writes the question based on the chat history

So the same question asked is being re-written in different context each time, causing the difference

Maybe try a context chat engine, or the openai agent, if this behavior is not desirable
Hi @Logan M But i want to only query through my knowledge base without using any prior knowledge. Can you suggest me for this ?
I'm not sure how my suggestions avoid that?

You can set a system prompt in the two engines I suggested as well to further control behaviour
Add a reply
Sign up and join the conversation on Discord