build-an-agentic-llm-assistant
build-an-agentic-llm-assistant copied to clipboard
LLM model invalid
Hello.
I can't get the software to work properly. I get this response:
{'statusCode': 200, 'response': 'conversation: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModel operation: The provided model identifier is invalid. Please try again later
This is the model ID I'm using amazon.titan-text-premier-v1:0.
I also tried using ChatBedrockConverse instead of ConversationChain:
conversation_chain = ChatBedrockConverse(model=model_id)
response = conversation_chain.invoke(user_input)
return response
I get the exact same error.
What confuses me is that this model ID amazon.titan-text-premier-v1:0 is valid and listed here:
So I'm stuck and don't know how to use that model. Can someone please give me a hint?
Hi jenia, this project doesn't use amazon.titan-text-premier-v1:0 currently. If you have a general questions about using a specific model on Bedrock, you can ask it on report.aws