Expand description
Typed OpenAI/Gemini embedding conversions.
Base64 vectors use the OpenAI embedding wire convention: consecutive IEEE-754 binary32 values encoded in little-endian byte order. JSON base64 strings are never treated as vector text.
Structs§
- Embedding
Response Context - Request-derived facts kept outside the vendor wire. Response model defaults to the actual selected upstream; an alias policy belongs to the host.
- Open
AiResponse Supplement - Open
AiUsage Facts - Prepared
Embedding - A converted Gemini request and the OpenAI response facts captured before
consuming its source request. Keep
responseuntil the upstream completes; this preserves the requested encoding, model identities and expected shape.