Example Usage

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

let value: PromptUpdate = {
  name: "<value>",
  type: "<value>",
  llmConfig: {
    provider: "azure_openai",
    model: "gpt-4o",
    version: "2024-05-13",
    apiVersion: "2024-06-01",
  },
  id: 398221,
};

Fields

FieldTypeRequiredDescription
namestringTRUEThe Prompt name
descriptionstringFALSEThe description of the prompt
typestringTRUEThe type of the prompt
contextstringFALSEThe prompt text
toolsstring[]FALSEThe tools for the prompt
llmConfigcomponents.LlmConfigTRUEThe configuration for the language model used by the Cortex API.
idnumberTRUEThe Prompt ID
editCommentsstringFALSEThe comments for the last edit