Expand description
siumai-protocol-openai
OpenAI(-like) protocol family mapping for siumai.
This crate owns the vendor-agnostic protocol layer for the OpenAI family:
- OpenAI-like protocol mapping (Chat/Embedding/Image/Rerank)
- OpenAI-compatible protocol building blocks (types + transformers)
- OpenAI Responses API mapping (feature-gated)
Provider crates (e.g. siumai-provider-openai, siumai-provider-xai,
siumai-provider-openai-compatible) should depend on this crate, and keep provider-specific
quirks behind provider-owned presets/wrappers.
Modulesยง
- hosted_
tools - OpenAI protocol-owned provider-defined tool constructors.
- provider_
metadata - Protocol-owned typed metadata views. Typed response metadata (protocol-owned).
- standards
- Protocol standards owned by this crate.