Latest / AI & agents

zod-chatgpt

github.com · Open source · Quiet

TypeScript helper for typed, schema-checked output from ChatGPT

Visit github.com ↗Share

  • AI & agents
  • Open source
  • TypeScript
  • Day-7 check
  • Day-30 check
  • zod
  • zod openai
  • typed chatgpt output
  • typescript llm json
  • zod schema llm
  • structured chatgpt response
Stars
128
Forks
5
Open issues
1
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

zod-chatgpt is a TypeScript library that uses Zod schemas to request structured, typed output from ChatGPT. It suits TypeScript developers who need predictable JSON from a language model in their app code.

What it does

  • Uses Zod schemas to request typed ChatGPT output
  • Generates a JSON schema for the prompt from the Zod schema
  • Validates responses against the schema

Good for

  • Get typed JSON from ChatGPT in a TypeScript app
  • Validate model output against a Zod schema
  • Use function calling with a validated response shape

Suits: TypeScript developers who need predictable JSON from a language model.

Worth knowing: Requires an OpenAI API key set as an environment variable

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw zod-chatgpt on , when olup posted it to Show HN. GitHub listed no published releases for olup/zod-chatgpt when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 35 points, 7 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 35 points, 7 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: olup/zod-chatgpt
  2. Found: olup posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was zod-chatgpt released?
No dated release record is available. Kip found it on Show HN on 13 Apr 2023.
Is zod-chatgpt open source?
Its source is public on GitHub at olup/zod-chatgpt; check the repository for licence terms.
What does zod-chatgpt run on?
Library.
Is zod-chatgpt free?
It is open source, so the code is free to read and run; check the licence for terms.
Is zod-chatgpt still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryolup/zod-chatgpt
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35562876. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.