Skip to main content

Module common

Module common 

Source
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.