Expand description
Shared input validation and service-readiness helpers used by all handlers.
Constantsยง
- MAX_
STRING_ ๐CHARS - Maximum characters allowed per individual input string (SEC-3).
Functionsยง
- check_
ready ๐ - Checks whether the service is ready to handle embedding requests.
- validate_
input ๐ - Validates a batch of input texts against size and length constraints.