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

kb_rag.py: Getting an error with RetrieveAndGenerate operation #3

Open
BowlOfFruits opened this issue Jul 24, 2024 · 0 comments
Open

Comments

@BowlOfFruits
Copy link

BowlOfFruits commented Jul 24, 2024

Hello, I created an S3 bucket and a knowledge base on top of it, with pdf documents uploaded into the S3 bucket. I followed the exact code in kb_rag.py; Only difference is I used llama3 model instead of claude-3 sonnet. I'm getting an error: "botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the RetrieveAndGenerate operation: The model arn provided is not supported. Please check your configuration and retry the request."

I've attached the screenshot of the issue for reference. Is there anything I can do to resolve this?
error

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

1 participant