Embeddings facade and a runtime-first infrastructure layer.
Embeddings facade
Embeddings is request-focused:
- Request composition (
withInputs,withModel,withOptions,with,withRequest) - Execution shortcuts (
get,vectors,first) - Runtime handoff (
runtime,withRuntime)
EmbeddingsRuntime.
Supported providers
- Azure OpenAI
- Cohere
- Gemini
- Jina
- OpenAI
Basic usage
Runtime selection
Use constructor sugar for common paths:Request methods
Response shortcuts
Multiple providers
Custom runtime config
For explicit config/provider wiring, assemble runtime viaEmbeddingsRuntime::fromProvider(...).