-
|
Hi guys, I am trying to implement moderation using guardrails so the bot verifies the response before returning it. For that, I have defined a context (is a json object stringified). I have used the output_moderation_v2.py on my code as follows: I have the following structure on my project: my However, I am getting the following error: Basically following this documentation: moderation_rail Does anybody knows why is this happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
My bad, I am implementing this in google cloud functions, therefore the path is not just |
Beta Was this translation helpful? Give feedback.
My bad, I am implementing this in google cloud functions, therefore the path is not just
"rails", as my code is within the function files for it to be available in google cloud, the path is"functions/rails"