AI.BAD_RESPONSE
Error code AI.BAD_RESPONSE, raised by packages. Area: AI.
What it means
- The SageMaker endpoint answered in a format this client does not understand
- The model returned … vectors for … texts
- The model returned no vector
What to do
- Use a container with the messages API (TGI 1.4+ or LMI), or one that returns generated_text.
- Try again; if it keeps happening, check the model's name and that it supports this request.
In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.
Search words: AI BAD_RESPONSE bad response