Input type for embedding
Output type (vector or array of vectors)
Generate embeddings for the given input.
AIRequest containing embedding input
Execution context
Optionalsignal: AbortSignalAbortSignal for request cancellation
AIResponse wrapping the embedding(s)
Provider-agnostic embedding capability interface.
Providers that implement this interface can create embeddings for text or other data.