Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

resolves #3204

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds TOON (Tabular Object Oriented Notation) format support to the describegpt command, providing a compact, human-readable alternative to JSON output that's optimized for LLM prompts.

Key Changes:

  • Adds TOON as a new output format option alongside Markdown, TSV, and JSON
  • Integrates the toon-format crate (v0.4) with a patched fork to gate CLI dependencies
  • Updates help text and error messages to include TOON in format options

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/cmd/describegpt.rs Adds TOON enum variant, imports toon-format library, implements TOON output logic in dictionary and general response handling, updates format validation messages
docs/nyc311-describegpt.toon Provides example TOON-formatted output demonstrating the new format on NYC 311 dataset
README.md Documents TOON format availability and links to toonformat.dev for more information
Cargo.toml Adds toon-format dependency and patch directive for forked version
Cargo.lock Locks toon-format crate to specific commit on patched branch

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit 2ca2213 into master Dec 19, 2025
11 of 12 checks passed
@jqnatividad jqnatividad deleted the 3204-describegpt-toon-format-support branch December 19, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

describegpt: produce dictionary in TOON format

2 participants