ITADN

kb_rag.py: Getting an error with RetrieveAndGenerate operation

#3OpenBowlOfFruits 创建于 2024-07-24
B
BowlOfFruitscommented
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](https://github.com/user-attachments/assets/dc9715b9-7687-4733-8869-1ed5456c9b96)
0 条评论