Skip to content

Amazon Titan Premier responding with "Invalid inference input"

0

Testing the new Titan Text Premier model and have been getting this error:

An error occurred (ValidationException) when calling the InvokeModel operation: Invalid inference input

Anyone else experiencing this?

asked 2 years ago926 views
2 Answers
1
Accepted Answer

Hello.

Do you get the same error even if you try the sample code provided in the document below?
https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-titan-text.html

If the same error occurs even after using the sample code, could you please share the code and parameters you are using for the request?

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
0

Ok my fault, I had the maxTokenCount wrong. Adjusted it to the value in that document and it work. Thanks a ton for the quick response! All fixed now :)

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.