jadpo ai
On this page
Show prompts, record, usage.
show prints what a prompt sends a model (area 21): its type, its file and its version, the first 8 hex characters of a SHA-256 over its two files, then the instructions as the system message, the conversation's turns, and the request as the user message. Placeholders are shown as the prompt's file writes them, each free-text one inside the tagged data block it is sent in. record asks the configured model the prompt once, with the values of its last jadpo dev call or a fixture's, and keeps the answer beside it as recordings/usage shows the tokens the app's calls used today and this month (UTC) and their estimated cost, by prompt and model, against the daily limit, from the counts ai: { limits: } keeps; never a prompt or an answer. Its database is the one its store's connection's setting gives, or a running jadpo dev's, or the one --url names.
jadpo ai <action> [prompt]Arguments
action: What to do: show, record or usageprompt(optional): The prompt's name, such as summarise_ticket
Flags
--as <name>: For record: the recording's name--fixture <fixture>: For record: a fixture to ask with--url <url>: For usage: the database it reads
On every command
--json: Print data for tools instead of text--help: Show every flag, with examples--color <when>: Choose when to use colour
jadpo ai --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("ai"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.
Examples
# See what the summarise_ticket prompt sendsjadpo ai show summarise_ticket# Print it as data for toolsjadpo ai show summarise_ticket --json# Record the model's answer to the last jadpo dev calljadpo ai record summarise_ticket --as long_thread# See the tokens and cost models used today and this monthjadpo ai usage
Errors
cli.ai_arguments: AI command has invalid argumentsai.usage_unavailable: AI usage's database couldn't be readrecording.failed: Sandbox or model gave no answer to recordrecording.refused: Answer can't be recorded through this connectiontoolchain.project_not_found: Project could not be found
Markdown for agents: /docs/jadpo-ai.md.Built from Jadpo main at a707efb.