Attributes of a flattened prompt version returned for SDK consumption. Exactly one of template and chat_template is returned.

Hierarchy

  • LLMObsPromptSDKDataAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
chatTemplate?: LLMObsPromptChatMessage[]

Chat template for this prompt version, as a list of role and content messages. Omitted for text templates.

labels?: string[]

Labels attached to the selected version.

promptId?: string

Customer-provided identifier of the prompt.

promptVersionUuid?: string

Unique identifier of this prompt version.

template?: string

Text template for this prompt version. Omitted for chat templates.

version?: string

Version identifier for this prompt version. This is the sequential version number unless a user-supplied version identifier was set, in which case that identifier is used instead.

Generated using TypeDoc