effect-io-ai

Package: @effect/ai-openai
Module: OpenAiSchema

OpenAiSchema.CreateEmbeddingResponse

Successful response payload returned by the OpenAI embeddings endpoint.

When to use

Use when typing successful OpenAI embeddings responses.

Details

Contains embedding items, the model name, optional list marker, and optional token usage counts.

Signature

type CreateEmbeddingResponse = typeof CreateEmbeddingResponse.Type

Source

Since v4.0.0