microsoft / RD-Agent

Research and development (R&D) is crucial for the enhancement of industrial productivity, especially in the AI era, where the core aspects of R&D are mainly focused on data and models. We are committed to automating these high-value generic R&D processes through our open source R&D automation tool RD-Agent, which lets AI drive data-driven AI.
https://rdagent.azurewebsites.net/
MIT License
934 stars 70 forks source link

JSON mode support #433

Open you-n-g opened 6 days ago

you-n-g commented 6 days ago

🌟 Feature Description

Currently, the RD-Agent workflow relies heavily on JSON mode to simplify implementation.

However, many LLMs do not natively support the JSON model.

RD-Agent should offer a fallback solution, even though it might result in a higher error rate.

A very naive proposal

you-n-g commented 6 days ago

https://github.com/microsoft/RD-Agent/pull/419 is related

frinkleko commented 5 days ago

There are also some related tools for json repair in the output of LLM, such as this repo.

NAMEKDSUN commented 5 days ago

Whether this package is useful for the project?https://github.com/dottxt-ai/outlines