You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to modify the ABC example to have a rag setup for a lot of pdfs instead of the kb approach
So, I made a custom action that returns the relevant retrievals
Now I've just added it as in rails.co
define flow user query
$answer = execute user_query
bot $answer
I have tested adding it to input and output rails
If added to input rails, the dialog rails (generate_user_intent and next step/ bot message) don't happen
Just input and output
If I add it to output rails before the output check It overloads it
How do I add it to the input check so that the retrieved chunks are used for the output, but the generate user intent also happens so that the disallowed topics are checked
Edit:
Unlike the rag examples given already
I want to make it so that the rag is used only when the input intent is allowed after checking with the disallowed
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to modify the ABC example to have a rag setup for a lot of pdfs instead of the kb approach
So, I made a custom action that returns the relevant retrievals
Now I've just added it as in rails.co
define flow user query
$answer = execute user_query
bot $answer
I have tested adding it to input and output rails
If added to input rails, the dialog rails (generate_user_intent and next step/ bot message) don't happen
Just input and output
If I add it to output rails before the output check It overloads it
How do I add it to the input check so that the retrieved chunks are used for the output, but the generate user intent also happens so that the disallowed topics are checked
Edit:
Unlike the rag examples given already
I want to make it so that the rag is used only when the input intent is allowed after checking with the disallowed
Beta Was this translation helpful? Give feedback.
All reactions