Skip to content

retrieveAndGenerate Syntax Error: Unknown parameter generationConfiguration or retrievalConfiguration (Claude-v3, Amazon Bedrock) #4081

Answered by Shanazar2020
Shanazar2020 asked this question in Q&A
Discussion options

You must be logged in to vote

The issue I encountered was due to running my application inside a Docker container, where the updated version of the boto3 library was not being reflected despite showing the latest version installed.

To solve this problem, I needed to rebuild the Docker container by installing the latest version of the boto3 library. Simply updating the library within the existing container was not sufficient.

To update boto3 while rebuilding, I modified the of the library in requirement.txt file and rebuilt the docker container with --no-cache parameter:

docker-compose build --no-cache

After rebuilding the Docker container with the latest boto3 version installed, the retrieveAndGenerate function worke…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Shanazar2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant