AI Datasets

Choose the right export format for AI datasets

Use CSV to review answers in a spreadsheet, JSONL for a pipeline, and chunks for retrieval. Choose a training format once you know how your training tool expects the examples to be structured.

Start with where the data will go

Ask who or what will read the file next. If a reviewer needs to correct support answers, open the Q&A CSV in a spreadsheet. If a service will consume records one at a time, use JSONL. If the work requires the language and structure of entire pages, start with the page export. Download a small sample and pass it through the same importer you plan to use later.

The project can hold several record types from the same source. A question and answer is an example your team can validate. A retrieval chunk is context to search at request time. A page record holds a longer extract, and an uploaded row keeps the original column values. You may need more than one export. A help center project, for example, can supply Q&A for manual review, chunks for a retrieval index and pages for a content audit. Keep those files identifiable by project and version when you hand them to another team.

Open the Export tab to see the files available in your installation. A format that has no matching records will have nothing useful to import, so check the counts in the project first.

Review questions and answers in CSV or Markdown

qa.csvqa.mdqa.jsonl

CSV is the fastest way to ask a reviewer to compare several answers at once. Keep the question, answer, source, quote and confidence columns together. Sort by confidence if you want to review the least certain records first. For an answer about a billing policy, open the source and check the conditions and the date of the policy before approving the wording.

The Markdown file is easier to discuss in a document or pull request. Use it to read the questions in sequence without opening a spreadsheet. JSONL is convenient once the review is complete because a pipeline can load each question and answer independently. Each format serves the same review goal, so compare the record identifiers or source fields when moving between formats.

A supporting quote gives you the passage that led to the extracted answer. Check the page itself if the quote is ambiguous or a heading refers to a different product than the current answer. If you fix the original page, rerun the project and inspect the new version before replacing a dataset already in use.

Read JSONL one object at a time

qa.jsonlchunks.jsonlrows.jsonl

A JSON Lines file contains one JSON object per line. Read each non-empty line as its own object. That is useful when you want to validate individual records, write a stream of results to another store or process part of a file during a test. A normal JSON file can contain an array around the objects, so set your importer to the right mode.

Check for fields your application requires before writing to a database. A Q&A loader can verify that question and answer are populated and that the source has a shape it understands. A row imported from a file may use a row identifier in place of a website URL. Store the source value as delivered and let your application distinguish a row reference from a link.

Keep a rejected record report when you import at scale. Save the line number and reason for rejection so a second attempt can reproduce the result. For privacy, avoid recording the full text of an answer or row in logs if the people who can read the logs have broader access than the dataset reviewers.

Use retrieval chunks for grounding an assistant

chunks.jsonl

Retrieval-augmented generation searches a collection of passages before a model answers. Load the chunk text into the retrieval system, and keep its source URL or row identifier alongside the searchable text. A section label can help a reader understand which part of the page the chunk came from. An approximate token count is a guide when you budget how much context to include.

Test retrieval separately from answer writing. Take five or ten questions that users really ask, search the chunk collection and check whether the returned passages contain enough context. If the correct passage is missing, inspect the source page and the project’s crawl audit before adjusting your retrieval setup. If the right chunk appears but the answer is still wrong, compare the assistant output with the passage it received.

Use page extracts when you need more context than a chunk provides. Store the dataset version with the retrieval index so you can rebuild or roll back when content changes. Update the index after reviewing a new run, particularly for sources that frequently change how they describe policies or product behavior.

Export page text for content and coverage reviews

pages.jsonlpages.md

The page export is useful when the unit of review is a page rather than a question. In the project, compare the page title, source address, word count and checks. With JSONL, a script can group pages by path or compare descriptions and headings. With Markdown, a writer can read the extracted material in one document.

A page extract represents the text Semalt could read in the initial HTML. It can differ from what a visitor sees after a site loads scripts, accepts a consent prompt or signs in. Check the website directly when a source looks unusually short. For a documentation site, comparing the extract with the visible article helps find text that should be made available to the crawler.

Keep original URLs when you compare versions. Page titles can change after a rewrite or localization, while the URL may stay the same. If several URLs repeat the same content, inspect canonical declarations and the crawler’s duplicate checks. Preserve the reason for an exclusion so future reviews do not mistake an intentional decision for a missing page.

Prepare reviewed examples for fine-tuning

alpaca.jsonlchatml.jsonlsharegpt.jsonl

Alpaca represents an example as instruction, input and output fields. ChatML represents the question and answer as messages with roles. ShareGPT represents a conversation in its own turn format. Start with the file that matches your trainer’s input contract. Loading a few examples is quicker than diagnosing a complete run that fails because the field names or role labels differ.

Good training data comes from checking the answers and choosing a consistent style. Inspect examples where the source has multiple conditions, hypothetical wording or several different answers for different versions of a product. Split examples for evaluation before training. Keep repeated answers about the same policy together when you split if you want to measure whether the model can handle unfamiliar material.

Use the source-linked Q&A export as your review copy even when the training file carries only an instruction and answer. Retain the dataset version and selection criteria with the training run. If a reviewer later finds a wrong answer, that record makes it possible to identify which examples and model runs used the old wording.

Work with rows from an uploaded file

rows.jsonlrows.csv

Row exports are useful for tabular material such as a product list or a public directory. Name columns so they mean the same thing to every reader. Use one row for one entity. If you upload a list of public questions and answers, use clear question and answer columns so Semalt can recognize those pairs while retaining the other data.

CSV is appropriate for spreadsheet review. JSONL is useful if your source has nested fields or your import process needs to validate rows individually. Confirm that identifiers with leading zeros, currencies and dates are interpreted the way you expect. Spreadsheet tools can convert values automatically, so check a few representative rows after opening a file.

A row identifier lets a reviewer trace the export back to the imported record. Keep a private copy of the original upload if you need to repeat that comparison later. Remove client contact information, account credentials and internal notes before creating the source file. Where fields must stay private, restrict the dataset to people who are authorized to work with the material.

Use Parquet for column-oriented analysis

dataset.parquet

Parquet is a binary, column-oriented format for tools such as pandas, Spark and DuckDB. When Parquet support is enabled for an installation, the project can accept a Parquet upload and offer a private Parquet export. Use the text formats for a quick manual review. Choose Parquet if a downstream process reads only a few columns or already expects typed, columnar data.

Inspect the output schema before writing a formal pipeline. The dataset export carries record information such as kind, source and confidence. A column with original fields can contain serialized data. Check how your reader represents missing values and mixed types. Keep the JSONL version available during an integration so you can compare a row without depending on the same columnar reader.

If your project does not offer the format, choose JSONL or CSV and convert it in your own environment as needed. The public catalog lists the files published for an individual dataset. Check that list before planning a public integration that relies on a particular extension or data shape.

Download files that describe a website

llms.txtllms-full.txtfaq.jsonldreport.json

Use the audit report to compare runs in your own tooling. Read the human-facing audit in the project first so reviewers know what each score measures. For example, a change in the proportion of pages with titles and descriptions can be a useful prompt for manual checks. Compare the same crawl scope and page limit when you want to attribute a difference to a website change.

The llms.txt files are outputs you can review before hosting them on a site you manage. The concise version is a guide to the pages and the full version carries more extracted text. Check the URLs and language in the generated file. Hosting an llms.txt file provides a resource for systems that choose to read it. Indexing, model use and citations are decisions made by those systems.

Review generated FAQ markup against the questions and answers visible on the intended page. Keep the markup associated with its source page so you can update both when the answer changes. The audit, website guide and markup have different audiences and can be downloaded independently.

Apply confidence and privacy filters

Use a minimum confidence level to select Q&A for an export. A high threshold can be a practical starting point when you want likely direct answers and have limited time for review. It can also leave out useful material extracted from headings. Look at examples on both sides of the threshold before choosing it for production.

Use the masking option to replace detected personal data. Review the output as well as the original rows. Detection works for recognizable patterns such as email addresses or phone numbers, while other personal or confidential information requires human review. Exclude records you cannot use and check the refreshed export before sharing it.

Private exports are intended for the owner’s workflow. A public publication uses a separate snapshot of eligible records. The published card and its download files reflect the selected version and license. Decide which information the intended audience should see, and test a sample file as someone who only has permission to read the published version.

Bundle files and verify what you received

all.zip

Download the ZIP when several formats are needed for handoff. Open the archive and compare the included files with the records your team reviewed. Export settings affect which records are eligible, so record the confidence and masking choices in your project notes. Export an individual file when a reviewer needs a single artifact.

Check a row at the beginning and end of a file and confirm expected characters in accented text. Compare totals with the dataset counts while allowing for filters and format-specific record types. If a downstream job reports fewer rows, check whether it skipped a header, rejected a row or was given the wrong file.

Store the archive with the project name, version and export date if it will be used later. A version label is useful when one team reviews a file while another has already started a new crawl. Retain a repeatable way to create the same selection for a later audit.

Share a licensed version or use the API

Publish a dataset after you have reviewed the records, confirmed you may share them and selected a license. The public card includes a description and a record viewer. Its Files view shows the downloadable formats for that publication. Check the card and at least one file in a guest session.

If you are building an internal pipeline, use a Semalt API key from the owner’s account. Read the project status before asking for records or an export. Paginate through records rather than fetching them all at once. If a file exceeds the REST download limit, use the dashboard download. Reuse the file selection and version recorded by your pipeline when you investigate a result.

When you rerun a project, keep the previously released file until the replacement is reviewed. The public card and placement orders keep the approved snapshot. Updating a publication is a deliberate action. This lets the team compare versions and protect workflows that depend on the current public copy.