Repository navigation
Conversation
- Save nested-metadata examples before loading them from JSONL. - Preserve upstream formatting and retain flat-data CSV examples. - Document the existing date/datetime string conversion limitation.
manjast
force-pushed
the
docs/jsonl-dataset-examples
branch
from
November 19, 2026 13:01
d4e45bc to
5285e67
Compare
Author
|
Updated against current Ready for maintainer review. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue Link / Problem Description
Related to #3069. This is the separate docs change discussed in the issue; metric validation remains in #3070.
The dataset guide uses
local/csvfor a nested metadata dictionary, but CSV reloads that value as a string. The example also loads the dataset without first showingsave().Changes Made
local/jsonlfor the nested-metadata example and the later workflow's dataset load.save()and show accessing a field in the reloaded metadata.Only
docs/concepts/datasets.mdchanges. No metric, backend, workflow or dependency changes.Testing
How to Test
simple.retrieved_contexts=["alpha", "beta"], nested metadata and a numeric field with each local backend: JSONL should preserve the list/dict/integer, while CSV returns strings.Current observed results — 2026-11-19
Updated against upstream
mainat8c63f10d500c44efbf24fdb9e2920de2104c321cand checked on Python 3.12.13 with fresh dependency resolution, includinglangchain-community==0.4.2.simple\n, the entire expected row matched and the JSONL file existed.make build-docsand Firefox inspectionjupyter-nbconvertwas unavailable; the build reported 76 warnings and two non-fatal Griffe MLflow alias errors. This is not a clean, strict or warning-free documentation build.make run-cimake run-ci-testsllama_index,rapidfuzzandsacrebleu.This is not a clean full-CI or full-suite claim. No checks were weakened or unrelated code repaired. The dataset example checks made no metric/judge calls and did not execute the application workflow.
Historical validation
The original 2026-10-27 check used base
298b682andlangchain-community==0.3.31because of the separate import issue discussed in #3017. It reported successful examples/docs, baseline-comparable formatting/type failures and missing optional test dependencies. That compatibility pin was not needed for the current validation above; historical results are not checks on the updated head.