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
| Field | Type | Required | Description |
|---|---|---|---|
data | components.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. |
model | string | ✔️ | The model used for generating the embeddings |
object | "list" | ➖ | N/A |
usage | components.EmbeddingsResponseUsage | ➖ | Usage statistics for the embeddings request |