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
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
-
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