-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion prompt to return UnknownText #140
Comments
I think the answer I would give to this is that the "unknown" pattern is not a catch-all. In some cases, you can augment it by adding comments to describe what you want to happen. In other cases, you may be better-served by anticipating more classes of "bad input" by adding a feature. So in the case of "do you have pizza", you might try to interleave a different kind of response than just a But otherwise, I think you will always have to give users an "out", double check with your users to say "is this what you wanted?" |
Hi, first I would like to say that this library is fantastic.
I am working on a chatbot and I want to extract the users order, below is the sample prompt I am using.
When the user says the "correct" order or something "completely off" I get a good result, but sometimes I get incorrect results
Here is the prompt:
If I say "I would like two pepperoni pizzas" I get the correct result
And when I say "is the sky blue?" I get the correct result too "unknown"
But if I say something like "Do you have pizza" I get this wrong
How could I improve this prompt to get the "unknown" in this case? I am using PALM2 text-bison-001, but this also happens in Gpt-3.5-turbo-instruct too.
Thanks
The text was updated successfully, but these errors were encountered: