Record of a change to a prompt. Values reflect post-change state.

Example Usage

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

let value: PromptHistory = {
  timestamp: new Date("2024-01-31T03:47:25.523Z"),
  promptId: "<id>",
  promptText: "<value>",
  promptName: "<value>",
  userEmail: "<value>",
};

Fields

FieldTypeRequiredDescription
timestampDateTRUETimestamp of the change
promptIdstringTRUEID of the prompt
promptTextstringTRUEText of the prompt
promptDescriptionstringFALSEDescription of the prompt
promptNamestringTRUEName of the prompt
llmConfigstringFALSEString representation of LLM config for the prompt
commentsstringFALSEComments describing the change
userEmailstringTRUEEmail address of the user who made the change