simonw / simonw/llm

Parsing JSON in reponses

Open
#514 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
3d 13h
Merged PRs (30d)
10

Description

So, I've recently created a CLI tool in rust before I knew about this tool. I also included an option to parse JSON from the response and test if it is valid. It could be of course done outside llm, but do you think it could be included in the package the same way as I did it?

https://github.com/detrin/promptly

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no llm files, tests, or entry points. Start by reviewing the linked promptly project’s JSON response parsing and then locate the corresponding response-handling path in llm; done would mean a decided design for parsing and validating JSON responses in the CLI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.