Normandy.Components.PromptSpecification (normandy v0.2.0)

View Source

Defines the structure of an agent's system prompt.

Organizes prompts into sections: background (identity), steps (internal process), output instructions, and dynamic context providers.

Summary

Types

t()

@type t() :: %Normandy.Components.PromptSpecification{
  __meta__: term(),
  background: [String.t()],
  context_providers: %{required(atom()) => struct()},
  output_instructions: [String.t()],
  steps: [String.t()]
}