Skip to content

webui: export conversations as jsonl#24688

Merged
allozaur merged 2 commits into
ggml-org:masterfrom
julien-c:sessions-jsonl
Jun 17, 2026
Merged

webui: export conversations as jsonl#24688
allozaur merged 2 commits into
ggml-org:masterfrom
julien-c:sessions-jsonl

Conversation

@julien-c

@julien-c julien-c commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Close #24333

export conversations as jsonl instead of json

each session is one jsonl file, a session header line followed by one line per message
exporting multiple conversations at once bundles them into a zip, one jsonl file each

disclaimer: my julien-cto agent helped me write this

each session is one jsonl file, a session header line followed by one line per message
exporting multiple conversations bundles them into a zip, one jsonl file each
@julien-c julien-c requested a review from a team as a code owner June 16, 2026 12:27
@julien-c julien-c marked this pull request as draft June 16, 2026 12:27
parse the new jsonl session format and zip archives on import
keep supporting the legacy json format
@julien-c julien-c marked this pull request as ready for review June 16, 2026 12:37
@allozaur allozaur requested a review from ServeurpersoCom June 17, 2026 11:11
@allozaur allozaur merged commit 8086439 into ggml-org:master Jun 17, 2026
6 checks passed
papamoose pushed a commit to papamoose/llama.cpp that referenced this pull request Jun 27, 2026
* webui: export conversations as jsonl

each session is one jsonl file, a session header line followed by one line per message
exporting multiple conversations bundles them into a zip, one jsonl file each

* webui: import jsonl and zip conversation exports

parse the new jsonl session format and zip archives on import
keep supporting the legacy json format
@julien-c julien-c deleted the sessions-jsonl branch July 1, 2026 15:03
@julien-c

julien-c commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Two things:

@julien-c

julien-c commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Also see huggingface/hub-docs#2613

adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
* webui: export conversations as jsonl

each session is one jsonl file, a session header line followed by one line per message
exporting multiple conversations bundles them into a zip, one jsonl file each

* webui: import jsonl and zip conversation exports

parse the new jsonl session format and zip archives on import
keep supporting the legacy json format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Update Export/Import to be Pi-compatible jsonl

3 participants