Skip to content

EmbeddingsResponse

Response from the embeddings endpoint containing the generated embeddings and usage information.

Example Usage

typescript
import { EmbeddingsResponse } from "@meetkai/mka1/models/components";

let value: EmbeddingsResponse = {
  data: [],
  model: "Explorer",
};

Fields

FieldTypeRequiredDescription
datacomponents.Data[]✔️A list of embedding objects. Each object contains the embedding vector as an array of floating point numbers or base64-encoded string representing the semantic meaning of the input text.
modelstring✔️The model used for generating the embeddings
object"list"N/A
usagecomponents.EmbeddingsResponseUsageUsage statistics for the embeddings request