Header menu logo Nao

Prompt Module

Functions for working with structured prompts

Functions and values

Function or value Description

render prompt

Full Usage: render prompt

Parameters:
Returns: string

Render a structured prompt into a single system message string. Combines role, objective, domain knowledge, constraints, examples, output format, and context into a well-formatted markdown prompt.

prompt : Prompt
Returns: string

Type something to start searching.