Attributes of a flattened prompt version returned for SDK consumption. Exactly one of template and chat_template is returned. Empty config is omitted when configuration authoring is disabled for the organization. Non-empty saved configuration is always 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

Chat template for this prompt version, as a list of messages and named message placeholders. Omitted for text templates. Preview: Message placeholders are available in Preview. To request access, contact Datadog Support or your Customer Success Manager.

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

Versioned prompt configuration is in Preview. To request access, contact Datadog Support or your Customer Success Manager. Customer-owned configuration delivered with a prompt version. Datadog stores and returns the object without interpolating it, validating provider-specific keys, or applying it to model calls. Do not include secrets.

Type declaration

  • [key: string]: any
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