Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / EmbeddingResponse

Interface: EmbeddingResponse

Defined in: types.ts:218

The complete response from an embedding generation request. Contains all embeddings and aggregated usage information.

Properties

embeddings

embeddings: EmbeddingResult[]

Defined in: types.ts:220

Array of embedding results, one for each input text.


usage?

optional usage: EmbeddingUsage

Defined in: types.ts:222

Total usage information across all embeddings in the batch.


model?

optional model: string

Defined in: types.ts:224

The model used to generate the embeddings.

Released under the MIT License.