openai-compat
Create Embeddings
Create embeddings using OpenAI-compatible API.
This endpoint is compatible with OpenAI's /v1/embeddings API, allowing drop-in replacement for any OpenAI SDK or client.
Args: request: OpenAI-format embedding request. http_request: FastAPI request (for app state). x_machine_profile: Machine profile header for routing validation.
Returns: OpenAI-format embedding response with embeddings and usage info.
post/v1/embeddings
Headers
X-SIE-MACHINE-PROFILEstring nullable
Request body
Response
Embeddings generated successfully