How a model or custom runnable output is passes as bot_message to the rails' prompt? #1253
abhijeetsourav
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The config folder for guardrails contains prompts for the model to check for various input and output rails, the prompts can contain user_input and/or bot_message.
I wanna know how both are passed when guardrails is wrapped with a langchain chain ( prompt | custom_runnable( ) ), what's the format for both, so that i can customize the output of my custom_runnable( ) for guardrails output rails checking.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions