Input type for embedding.
Output type for normalized embedding results.
Generate embeddings for the given input.
AIRequest containing embedding input.
Execution context.
Optionalsignal: AbortSignalAbortSignal for request cancellation.
AIResponse wrapping the embedding output.
Provider-agnostic embedding capability interface.
Providers that implement this interface can create embeddings for text or other data.