Expand description
Explicit embedding split/batch calls over one selected upstream target.
Structs§
- Embedding
Batch Error - Failure never presents completed partial vectors as a successful batch.
completed_callscounts 2xx calls whose JSON was decoded, including one whose typed data proved invalid. A transport/body failure can have an unknown upstream outcome; this counter is not a retry authorization.completed_itemscounts only vectors validated before the failed call. - Embedding
Batch Options - Embedding
Batch Result
Enums§
Functions§
- gemini_
batch_ to_ openai - Execute a Gemini embedding batch through the selected OpenAI model. Varying output dimensions are split into separate calls and returned in input order.
- gemini_
single_ to_ openai - One Gemini input through OpenAI embeddings. The selected target request carries its explicit model and declared dimensionality.
- openai_
to_ gemini_ batch - Convert an OpenAI embedding batch and call Gemini batchEmbedContents in
source order.
templateis the selected target HTTP endpoint, never the original client request; its body is replaced and authentication is host-owned. - openai_
to_ gemini_ single - One OpenAI input through Gemini embedContent, retaining requested encoding and validating the returned dimension and factual usage.