n4ze3m / dialoqbase

Create chatbots with ease
https://dialoqbase.n4ze3m.com/
MIT License
1.53k stars 251 forks source link

two similar names Wrong answer #231

Open senavi888 opened 3 months ago

senavi888 commented 3 months ago

Hi! Here's a question. I have loaded a database. I have the names and description of these values. There are two similar names for example:

  1. Farun
  2. farun-buddha

These are two different meanings and their descriptions are different.

The temperature is 0.

The system keeps giving me a description from Farun-buddha when I ask for Farun.

But when I ask for part of the description from Farun it gives the correct answer.

How can I make it not confuse similar words?

n4ze3m commented 3 months ago

Hey, maybe you need to give a little more information about "Farun" to the application, or maybe try enabling "Use Hybrid Search Retrieval," which may solve the issue. image

senavi888 commented 3 months ago

Enabling hybrid search didn't help.

When you write the query: tell me about Farun, which is used for the spine. It gives the correct answer.

But user will search for one word Farun often and will not get the exact answer :(.

senavi888 commented 3 months ago

When i ask for Farun, it responds with a description about farun-buddha, but instead of the word farun-buddha, it substitutes farun. That is, it substitutes the word and gives a description from another word. This is very big problem 😂😂😂

n4ze3m commented 3 months ago

😅 I will look into it to fix in dialoqbase side. And it's usually because of model hallucinating.