一些不错的LLM 结构化输出库

结构化输出对于LLM 是一个比较重要的功能,以下是一个开源不错的工具,可以方便使用

简单说明

outlines以及instructor 是很不错的工具对于基于api 的推荐使用instructor,kor 以及langchain 集成比较好
guardrails 也算是一个不错的工具提供了结构化输出的能力,但是核心是数据的校验能力

参考资料

https://github.com/eyurtsev/kor
https://github.com/tanchongmin/strictjson
https://github.com/noamgat/lm-format-enforcer/tree/main
https://github.com/jxnl/instructor/
https://github.com/outlines-dev/outlines
https://github.com/guardrails-ai/guardrails
https://github.com/1rgs/jsonformer

posted on   荣锋亮  阅读(148)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2021-09-02 xxljob ha 参考配置以及使用说明
2021-09-02 xxljob 基于api 添加job
2019-09-02 haproxy 2.0 dataplaneapi rest api 转为graphql docker 镜像
2019-09-02 haproxy 2.0 dataplaneapi rest api 转为graphql
2019-09-02 haproxy 2.0 dataplaneapi rest api 几个方便的问题排查接口
2018-09-02 vulcanjs 包类型
2018-09-02 vulcanjs schemas&& collections

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示