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 24 days ago635 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?

profile picture
EXPERT
answered 24 days ago
profile picture
EXPERT
reviewed 24 days ago
profile pictureAWS
EXPERT
reviewed 24 days 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 24 days 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.

Guidelines for Answering Questions

Relevant content