Hi @yoptar
In my trainings data I have the following question/answer:
What is the name of the president of the USA?,“Donald Trump”
When I do the following request:
“q”: [
“What is the name of the president of the USA?”
]
Then I receive as response
[
[
[
“Donald Trump”
],
[
0.0009037585956436307,
…
0.00020985532607495578,
0.9807839562113666
]
When I do the following query
“q”: [
“What is the name of the president of the Russia?”
]
then I receive the following response
[
[
[
“Donald Trump”
],
[
0.0010917099011234978,
…
0.0002233205864783391,
0.948826280203339
]
]
]
]
]
I guess it is basically the same, because I don’t have the question/answer
What is the name of the president of the Russia?,“Vladimir Putin”
in my trainings data.
I understand that the query is nearly the same, just the word “USA” and “Russia” is different. I would have hoped that I am somehow able to recognize in the response that there is no answer to this question, because the answer regarding Russia is not in the trainings data yet, but nevertheless the response values are very similar
Russia: 0.948826280203339
USA: 0.9807839562113666
Do you have a hint how to differentiate, such that the program can decide not to return an answer for “Russia”?
Btw, I have set “confident_threshold”: 0.5 but I guess this does not help in such a case.
Thanks very much
Michael