Module classify

Module classify 

Source
Expand description

Classify API protocol definitions.

This module defines the request and response types for the /v1/classify API, which is compatible with vLLM’s classification endpoint.

Classification reuses the embedding backend - the scheduler returns logits as “embeddings”, and the classify layer applies softmax + label mapping.

Structs§

ClassifyData
Single classification result
ClassifyRequest
Classification request - compatible with vLLM’s /v1/classify API
ClassifyResponse
Classification response