alla flaggor
sid  ]
[ Källkod: partial-json-parser  ]

Paket: python3-partial-json-parser (0.2.1.1.post5-1)

Länkar för python3-partial-json-parser

Screenshot

Debianresurser:

Hämta källkodspaketet partial-json-parser:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med python3-partial-json-parser

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-partial-json-parser

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 9,7 kbyte52,0 kbyte [filförteckning]