todas as opções
sid  ]
[ Fonte: partial-json-parser  ]

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

Links para python3-partial-json-parser

Screenshot

Recursos de Debian:

Baixe o pacote-fonte partial-json-parser:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Outros pacotes relacionados a python3-partial-json-parser

  • depende
  • recomenda
  • sugere
  • melhora

Download de python3-partial-json-parser

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 9.7 kB52.0 kB [lista de arquivos]