Prompt

../_images/prompt_reload.svg

Our prompts are sophisticated Pydantic/JSON. They can be seeded, and edited via our CLI. They can be source code controlled - we have a YAML format for that. When run, your inputs can be saved as chats - to tweak and rerun. These inputs are pure JSON and can be deployed into your chat runs using any tool. They can be run non-interactively in batch mode and output as JSON. This can then be piped into tools like jq or jsonata.

$ aidoc prompt run unobfuscate-emails --chat contacts --json --batch | \
jsonata '$join(resolved_records[email != ""].("aidoc crud contact edit " & $string(record_id) & " --set email=" & email), "\n")' | sh

User-Facing Reference

These subcommands handle workflow coordination, status alterations, and file edits.