Need help! Facing issues with Open AI where I have overlapping of data

I have built a chatbot which can do a search on my data by creating an embedding solution. But if I have overlapping data then answers are not accurate. Is there any way that I can send a recommend/follow-up question back to the user through a chatbot to be more specific with the document? For example- The user query is “share scope of work”. I have 10 documents where I have scope of work then what should be in a prompt to send a recommendation to the user to be more specific with the vendor’s name to get the right answer.



Comments

Popular posts from this blog

Spring Elasticsearch Operations

Object oriented programming concepts (OOPs)

Spring Boot and Vaadin : Filtering rows in Vaadin Grid