Skip to content

EmbeddingModel

Information about an embedding model and its limits

Example Usage

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

let value: EmbeddingModel = {
  id: "<id>",
  provider: "<value>",
  model: "Land Cruiser",
  limits: {
    maxBatchSize: 2004.02,
    maxInputTokens: 13.36,
    maxInputLength: 3547.39,
  },
};

Fields

FieldTypeRequiredDescription
idstring✔️Qualified model identifier in provider:model format
providerstring✔️Provider identifier (e.g., 'openai', 'google')
modelstring✔️Model identifier within the provider
limitscomponents.EmbeddingModelLimits✔️Limits for the embedding model