You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SageMaker endpoint settings in the chat panel doesn't have any validation for the request and response schemas. This can trip users who might copy the schemas from notebooks mostly in python which might not be interoperable and decodable when passed between the JS and Python. Users currently will not realize this error until they ask a question in the chat panel.
An example of an input schema for the flan-t5-xl model that caused this error for me.
Summary
SageMaker endpoint settings in the chat panel doesn't have any validation for the request and response schemas. This can trip users who might copy the schemas from notebooks mostly in python which might not be interoperable and decodable when passed between the JS and Python. Users currently will not realize this error until they ask a question in the chat panel.
An example of an input schema for the
flan-t5-xl
model that caused this error for me.The last value is incorrect as it is not a valid JSON value, should be
true
instead ofTrue
.Proposed Solution
Add json validation for request and response schemas in the settings panel.
The text was updated successfully, but these errors were encountered: