Header menu logo Nao

Prompt Type

A structured prompt definition following prompt engineering best practices

Record fields

Record Field Description

Constraints

Full Usage: Constraints

Field type: string list

Constraints and rules the agent must follow

Field type: string list

Context

Full Usage: Context

Field type: string list

Additional context injected at runtime (e.g. retrieved documents)

Field type: string list

DomainKnowledge

Full Usage: DomainKnowledge

Field type: string list

Domain-specific knowledge and context the agent needs

Field type: string list

Examples

Full Usage: Examples

Field type: PromptExample list

Few-shot examples demonstrating expected behavior

Field type: PromptExample list

Objective

Full Usage: Objective

Field type: string

The specific task or objective the agent should accomplish

Field type: string

OutputFormat

Full Usage: OutputFormat

Field type: OutputFormat

Desired output format

Field type: OutputFormat

Role

Full Usage: Role

Field type: string

The agent's role and identity (e.g. "You are a financial analyst...")

Field type: string

Static members

Static member Description

Prompt.Empty

Full Usage: Prompt.Empty

Returns: Prompt
Returns: Prompt

Type something to start searching.