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
When using /embed and truncate=true with long inputs, the input is correctly truncated at the token level, but I still get a validation error for inputs longer than 32,000 characters:
{
"error": "Input validation error: `inputs` must have less than 32000 characters. Given: 67337",
"error_type": "Validation"
}
It seems like truncate only affects tokenization and not the actual input length. Is the only solution to manually truncate the input on the client side or is there some parameter that I missed?
The text was updated successfully, but these errors were encountered:
When using
/embed
andtruncate=true
with long inputs, the input is correctly truncated at the token level, but I still get a validation error for inputs longer than 32,000 characters:It seems like
truncate
only affects tokenization and not the actual input length. Is the only solution to manually truncate the input on the client side or is there some parameter that I missed?The text was updated successfully, but these errors were encountered: