Tysm, a Rust crate for using ChatGPT with Structured Outputs
Hi HN! This Christmas I made `tysm`, a rust crates which simplifies using ChatGPT with Structured Outputs. Essentially you just tell it the rust type you want the output to conform to, and it handles creating the JSON Schema, passing it to ChatGPT's chat-completions API, and deserializing the response. Structured Outputs are very useful because they guarantee that the response will conform to whatever type you expect. I'm already finding my crate very useful since I love using Structured Outputs but I hate writing JSON Schemas myself. Technical details for rust heads: To generate the JSON…
What it does
In the maker’s words, at launch
Hi HN! This Christmas I made `tysm`, a rust crates which simplifies using ChatGPT with Structured Outputs. Essentially you just tell it the rust type you want the output to conform to, and it handles creating the JSON Schema, passing it to ChatGPT's chat-completions API, and deserializing the response. Structured Outputs are very useful because they guarantee that the response will conform to whatever type you expect. I'm already finding my crate very useful since I love using Structured Outputs but I hate writing JSON Schemas myself. Technical details for rust heads: To generate the JSON Schema, it uses an unreleased version of the `schemars` crate. (Hopefully it will be released soon and then I won't have to put up this disclaimer anymore.) For deserialization, it uses `serde`.
Does the same job
all alternatives →
Tabstack Structured ExtractionJun 2026 · ▲199Extract web data into structured JSON, no scraper required.



- ATAskama – Type-safe, compiled Jinja-like templates for Rust2017 · github.com · ▲82
- WAWe added ChatGPT to our documentation to make them fully portable2023 · xata.io · ▲7
TLDR: Check out our documentation search here: https://xata.io/docs/overview Hello HN. I'm a designer over at Xata. We build a serverless database platform on top of Postgres and Elastic-like search that provides goodies like a native TypeScript client for type support in your IDE. Long story short, we're trying to bundle all the normal stuff you need out of a database along with branching, so you don't have to glue everything together. Today we added a new /ask/ endpoint to our search product that bundles in ChatGPT support into any stored data. Why would you…
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com
