Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

feat: added JSON format support in Nitrodigest#191

Merged
RetroModernDev merged 1 commit into
mainfrom
refactor/ollama
Sep 29, 2025
Merged

feat: added JSON format support in Nitrodigest#191
RetroModernDev merged 1 commit into
mainfrom
refactor/ollama

Conversation

@RetroModernDev
Copy link
Copy Markdown
Owner

Response generated by Nitrodigest, especially when text was chunked was broken. For example combined lists had wrong ordering.

To solve this problem I used structured outputs. LLM returns JSON and I can eaisly merge JSON data for each chunk.

I added small rendering logic that renders this JSON as text. So from now, Nitrodigests supports two formats: text and json.

User can specify format by the --format flag. Default is text.

PR contains also docs update, version update and experimental feature: tags.

Response generated by Nitrodigest, especially when text was chunked was
broken. For example combined lists had wrong ordering.

To solve this problem I used structured outputs. LLM returns JSON and I
can eaisly merge JSON data for each chunk.

I added small rendering logic that renders this JSON as text. So from
now, Nitrodigests supports two formats: text and json.

User can specify format by the `--format` flag. Default is text.

PR contains also docs update, version update and experimental feature:
tags.
@RetroModernDev RetroModernDev merged commit 823c43d into main Sep 29, 2025
5 checks passed
@RetroModernDev RetroModernDev deleted the refactor/ollama branch September 29, 2025 06:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant