Example Usage

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

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

Fields

FieldTypeRequiredDescription
namestringTRUEThe prompt name
descriptionstringFALSEThe description of the prompt
typestringTRUEThe type of the prompt
contextstringFALSEThe prompt text
toolsstring[]FALSENames of tools to which the prompt has access
llmConfigcomponents.PromptLlmConfigTRUEN/A
idnumberTRUEThe prompt ID
editCommentsstringFALSEThe comments for the most recent edit to the prompt