Replies: 1 comment
-
@lalit2001 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using ChatBedrock with this code
ChatBedrock(model = "amazon.nova-micro-v1:0", aws_access_key_id = creds_conf.AWS_ACCESS_KEY_ID,
aws_secret_access_key = creds_conf.AWS_SECRET_ACCESS_KEY,
aws_session_token = creds_conf.AWS_SESSION_TOKEN, region_name = creds_conf.REGION)
chain = system_prompt_template | self.llm.with_structured_output(SummaryResponseDTO)
res = chain.invoke({"data": str(data), "metric": metric, "formula": formula, "date":date_range})
and getting the below error
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid length for parameter toolConfig.tools[0].toolSpec.description, value: 0, valid min length: 1
Beta Was this translation helpful? Give feedback.
All reactions