Skip to main content

Type Alias: GatewayEmbeddingResponse

type GatewayEmbeddingResponse = GatewayInferenceCreateEmbeddingResponse;

Defined in: src/ai-gateway/inference-client.ts:68

Embedding output preserves the requested numeric-array or base64 representation.

Example​

`const result: GatewayEmbeddingResponse = await inference.createEmbedding(body);`