Balík: python3-partial-json-parser (0.2.1.1.post5-1)
Odkazy pre python3-partial-json-parser
Zdroje Debian:
Stiahnuť zdrojový balík partial-json-parser:
- [partial-json-parser_0.2.1.1.post5-1.dsc]
- [partial-json-parser_0.2.1.1.post5.orig.tar.gz]
- [partial-json-parser_0.2.1.1.post5-1.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
to produce structural information instead of natural language
Sometimes we need LLM (Large Language Models) to produce structural information instead of natural language. The easiest way is to use JSON. But before receiving the last token of response, the JSON is broken, which means you can't use JSON.parse to decode it. But we still want to stream the data to the user. Here comes partial-json-parser, a lightweight and customizable library for parsing partial JSON strings. Here is a demo.
Ostatné balíky súvisiace s balíkom python3-partial-json-parser
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Stiahnuť python3-partial-json-parser
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 9.7 kB | 52.0 kB | [zoznam súborov] |