Radiant raindrop
Radiant raindrop16mo ago

Responses with information it should not know. Im only using KB.

Hey, this is kind of urgent, but my bot is responding with information it does not have or know. Im only using KB for the answer. Here is my prompt and flow:
No description
No description
7 Replies
Radiant raindrop
Radiant raindropOP16mo ago
@MikeG if you have time, could you maybe help me out?
frozen-sapphire
frozen-sapphire16mo ago
I think you can improve the prompt there like at the end say
Very important: If the information is not provided in the context given, say "I'm sorry, but I'm not sure about the answer, I would advise you to contact one of my colleagues for this"
Very important: If the information is not provided in the context given, say "I'm sorry, but I'm not sure about the answer, I would advise you to contact one of my colleagues for this"
or something similar Better yet you would do
Very important: If the information is not provided in the context given, say "404"
Very important: If the information is not provided in the context given, say "404"
Then have an if else statement after it to check ifthe response from the ai contains 404, then route them differently so you can have an error step basically
Radiant raindrop
Radiant raindropOP16mo ago
Ok I’ll try the 404 prompt. Do I put the “if” block after the response? I’m not that familiar with the “if” block Thank you for helping me!
frozen-sapphire
frozen-sapphire16mo ago
Yes after, and check last_response variable if it contains 404 🙂
Radiant raindrop
Radiant raindropOP16mo ago
Got it, I’ll try it out and let you know how it goes goes🙂 So i tested it out again, but it still responds with false information and information it doesent have. What can i do? is ther another part of my project that maybe disrupts the answers? And i was wondering, when i want the bot to respond with a message such has "thank you {variable}, we will be in touch with you soon" in a certain way based on a variabale containing for example language. What should i use when i want as much source securety as possible? Does using the response AI instead of the KB response cause it to respond to questions with information from the LLM?
W. Williams (SFT)
DM me and we can look at it together.
Radiant raindrop
Radiant raindropOP16mo ago
Alrigth, thanks

Did you find this page helpful?