Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with AWS Bedrock Chat model and LLM CHAIN #9084

Closed
radu-bitspot opened this issue Apr 8, 2024 · 3 comments
Closed

Problem with AWS Bedrock Chat model and LLM CHAIN #9084

radu-bitspot opened this issue Apr 8, 2024 · 3 comments
Labels

Comments

@radu-bitspot
Copy link

Bug Description

Error 400: 1 validation error detected: Value 'anthropic.claude-3-haiku-20240307-v1:0:200k' at 'modelId' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)

To Reproduce

Tried to connect AWS Bedrock Chat model to the BASIC LLM Chain to create output, connection working fine
image

Tried with all 3 haiku models that i have acces on the AWS console

image

Expected behavior

Tried to obtain ouput response from chat model,

Operating System

Ubuntu 20.04.6 LTS FOCAL

n8n Version

1.34.2

Node.js Version

docker

Database

SQLite (default)

Execution mode

main (default)

@OlegIvaniv
Copy link
Contributor

Thank you for reporting this, @radu-bitspot! This will be fixed in #9085

@radu-bitspot
Copy link
Author

Nice :) glad i helped

@janober
Copy link
Member

janober commented Apr 10, 2024

Fix got released with n8n@1.37.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants