Skip to main content

Crate openai_protocol

Crate openai_protocol 

Source

Modules§

builders
Builder patterns for protocol response types
chat
classify
Classify API protocol definitions.
common
completion
embedding
event_types
generate
interactions
messages
Anthropic Messages API protocol definitions
model_card
Model card definitions for worker model configuration.
model_type
Model type definitions using bitflags for endpoint support.
parser
realtime_conversation
realtime_events
realtime_response
realtime_session
rerank
responses
sampling_params
tokenize
Tokenize and Detokenize API protocol types
validated
worker
Canonical worker types and identity.

Constants§

UNKNOWN_MODEL_ID
Default model identifier used when no model is specified.