tryAGI / tryAGI/LangChain.Providers

[OpenAI] Support for JSON Response Format

Open
#6 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
C#
Stars
23
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Discussed in https://github.com/tryAGI/LangChain/discussions/80

Originally posted by samitugal November 27, 2023

As you may know, with the latest update, OpenAI added the response format feature to the ChatGPT APIs. Would you consider adding such a feature? The most challenging part for me is parsing the outputs as JSON.

image

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

Start by reading the linked discussion 80 and the issue's description of OpenAI's response format feature. Then locate the OpenAI provider entry points in this repository and determine the required API surface and JSON parsing behavior. Done means the feature is supported and its expected JSON output handling is defined and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ai, api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.