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 have updated the package to the latest version before submitting this issue
(optional) I have used the develop branch
I have searched the existing issues of NeMo-Guardrails
Python version (python --version)
Python 3.10
Operating system/version
Debian (Docker image)
NeMo-Guardrails version (if you must use a specific version and not the latest
0.10.1
Describe the bug
When I try to use NeMo Guardrails with Amazon Bedrock I face a issue with message
ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: Malformed input request: #: extraneous key [max_tokens] is not permitted#: extraneous key [n] is not permitted, please reformat your input and try again.
Checking the code, I perceived a hard coded max_tokens: 10 parameter for kwargs.
Steps To Reproduce
Configure a rail using Amazon Bedrock
Expected Behavior
NeMo Guardrails answer with LLM response
Actual Behavior
A error occurs:
ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: Malformed input request: #: extraneous key [max_tokens] is not permitted#: extraneous key [n] is not permitted, please reformat your input and try again.
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Python version (python --version)
Python 3.10
Operating system/version
Debian (Docker image)
NeMo-Guardrails version (if you must use a specific version and not the latest
0.10.1
Describe the bug
When I try to use NeMo Guardrails with Amazon Bedrock I face a issue with message
Checking the code, I perceived a hard coded
max_tokens: 10
parameter forkwargs
.Steps To Reproduce
Configure a rail using Amazon Bedrock
Expected Behavior
NeMo Guardrails answer with LLM response
Actual Behavior
A error occurs:
The text was updated successfully, but these errors were encountered: