Skip to main content

PromptSnapshot

The prompt configuration snapshot embedded in a Deployment. Contains the complete prompt definition including model configuration, messages, tool definitions, and variable declarations.

Import

Type Definition

Properties

  • config - Model provider and runtime settings (PromptSnapshotConfig)
  • messages - Ordered array of chat messages that form the prompt (PromptMessage)
  • tools - Tool/function definitions available to the model (ToolFunction)
  • variables - Dynamic variable declarations used in the prompt template (PromptVariable)

Examples

Accessing from a Deployment

Using with Adaline Gateway

Injecting Variables

Inspecting Prompt Structure


JSON