Skip to content

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

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: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by snizamaddinov
Comment options

You must be logged in to vote
1 reply
@paulofelipe84
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants