Example Usage

import { LlmConfig } from "syllable-sdk/models/components";

let value: LlmConfig = {
  provider: "openai",
  model: "gpt-4o",
  version: "2024-05-13",
  apiVersion: "2024-06-01",
};

Fields

FieldTypeRequiredDescriptionExample
providercomponents.ProviderFALSEProvider of the LLM model.azure_openai
modelstringFALSEName of the model. Must match the deployment name in Azure AI Studio.gpt-4o
versionstringFALSEOptional model version.2024-05-13
apiVersionstringFALSEVersion of the API. (Currently only used for Azure OpenAI.)2024-06-01