EmbedRequestBody
Request parameters for creating embeddings. Generates vector representations of the input text(s).
Example Usage
typescript
import { EmbedRequestBody } from "@meetkai/mka1/models/operations";
let value: EmbedRequestBody = {
input: [
"<value 1>",
"<value 2>",
"<value 3>",
],
model: "Mercielago",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
input | operations.Input | ✔️ | The input text or array of texts to generate embeddings for. Can be a single string or an array of strings. |
model | string | ✔️ | ID of the model to use for generating embeddings. You can use provider:model format (e.g., 'openai:text-embedding-3-small') or just the model name with a default provider. |