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

rain build --prompt fails to generate a template using Bedrock and a promt #235

Closed
sho-saito opened this issue Jan 8, 2024 · 4 comments
Closed

Comments

@sho-saito
Copy link
Contributor

sho-saito commented Jan 8, 2024

Hi,

When I try to generate a template using Bedreck promt with -p flag, it fails like

rain build -p "VPC with 1 private and 1 public subnet"
error invoking model: operation error Bedrock Runtime: InvokeModel, https response error StatusCode: 400, RequestID: 220aa210-e5bc-41cf-ad30-8595da0f01ab, ValidationException: The provided model identifier is invalid.

version:

Rain v1.7.5 linux/amd64

environment:

$ uname -a
Linux ip-10-0-1-164.ap-northeast-1.compute.internal 6.1.66-91.160.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 13 04:50:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
@sho-saito
Copy link
Contributor Author

sho-saito commented Jan 8, 2024

I am sorry.
This was just because it was done in the ap-northeast-1 region where Claude v2 (not 2.1) is not provided.

Should I withdraw this issue?

@ericzbeard
Copy link
Contributor

Is this separate from the PR you submitted?

@ericzbeard
Copy link
Contributor

Oh I see, v2 is not available there but 2.1 is.. ok.

@sho-saito
Copy link
Contributor Author

thank you for closing this and merging the PR! 🙇

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

No branches or pull requests

2 participants