Dataset
Prompt library and LLM logs datasets for AI training
An LLM logs dataset is the record a company keeps of its production LLM features: versioned prompt templates and tool definitions, plus logged calls with the rendered prompt, retrieved context, model and parameters, completion, tool calls, latency and any user feedback or human review. SourceX sources these to a buyer's spec from established businesses that run such features and log them in tools such as LangSmith, Langfuse, Helicone or Braintrust, subject to rights review. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Versioned prompt templates and tool definitions, with logged production calls and the feedback attached to them
- Typical systems
- LangSmith, Langfuse, Helicone, Braintrust, OpenTelemetry traces and in-house logging tables
- Typical history
- Short; from the date a feature launched and tracing was switched on, less any retention window
- Modality
- Prompt and completion text inside structured traces with spans, parameters and scores
- Delivery formats
- Agreed per order; JSONL traces, templates as text files with version metadata
- Preparation
- User-entered text de-identified; retrieved documents reviewed; API keys and internal endpoints removed
- Licensing
- Depends on model provider terms, the consent basis for inputs and the partner's rights; reviewed per dataset
- Availability
- Sourced to your spec from teams that kept full traces; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| trace_id | string | Pseudonymous ID for one request through the feature, from user input to final response. |
| feature | object | The product feature the call served and the environment it ran in. |
| prompt_ref | object | Template name, version and deployment label in force for the call, and whether the link was logged or inferred. |
| template | string | The prompt template before rendering, with its variable placeholders intact. |
| prompt_revisions | array | Version history of the template: change note, date, the evaluation run for each revision, its test set and scores. |
| rendered_messages | array | The messages actually sent, by role, after variables, retrieved context and few-shot examples were filled in. |
| retrieval | object | The retrieval query, the chunks returned with rank and score, and the index snapshot they came from. |
| model_call | object | Provider, requested and resolved model identifiers, sampling parameters and the tool definitions offered. |
| completion | object | Output text or structured output, finish reason and any tool calls the model requested. |
| spans | array | Nested steps such as retriever, model call, tool execution, guardrail and parser, with timing and errors. |
| usage | object | Input, cached and output token counts and latency as logged. |
| feedback | array | End-user signals such as ratings, edits before sending, regenerations and escalations, with source, time and join method. |
| review | array | Grades from human reviewers or annotation queues with rubric and comment, and automated evaluator scores flagged as such. |
| provenance | object | The provider terms on file for the call date, the consent basis for logged inputs and the sampling rate. |
Field names from the table above; values are masked placeholders.
Example record
{
"trace_id": "tr_8c41f0d2",
"feature": { "name": "refund_reply_draft", "environment": "production" },
"prompt_ref": { "template": "refund_reply", "version": 14, "label": "production", "link_method": "logged_by_sdk" },
"template": "You draft replies for a support agent. Follow the policy excerpts.\n{{policy_chunks}}\nCustomer message: {{customer_message}}",
"prompt_revisions": [
{ "version": 13, "eval_run": "exp_0412", "eval_set": "refund_cases_v3", "scores": { "policy_accuracy": 0.81 } },
{ "version": 14, "change_note": "Tell the model to quote the refund window from the excerpt, never from memory",
"eval_run": "exp_0419", "eval_set": "refund_cases_v3", "scores": { "policy_accuracy": 0.9 } }
],
"rendered_messages": [
{ "role": "user", "content": "Customer message: I returned the blender on [DATE] and still have no refund. Order [ORDER_ID]." }
],
"retrieval": { "query": "refund timing after return received", "index_snapshot": "kb_2026_02",
"chunks": [ { "chunk_id": "kb_211#3", "rank": 1, "score": 0.83 } ] },
"model_call": { "provider": "[PROVIDER]", "requested_model": "[MODEL_ALIAS]", "resolved_model": "[MODEL_SNAPSHOT]",
"temperature": 0.2, "tools_offered": ["lookup_order"] },
"completion": { "finish_reason": "stop", "tool_calls": [],
"text": "Refunds are issued within 5 business days of the return arriving, and yours arrived on [DATE]." },
"spans": [
{ "span_id": "s1", "kind": "retriever", "ms": 84 },
{ "span_id": "s2", "kind": "llm", "ms": 1310, "time_to_first_token_ms": 290 }
],
"usage": { "input_tokens": 1184, "cached_input_tokens": 912, "output_tokens": 61 },
"feedback": [
{ "source": "end_user", "kind": "edited_before_send", "t": "2026-02-11T15:02:44Z", "chars_changed": 38,
"final_text_ref": "finals/tr_8c41f0d2.txt", "join": "trace_id_from_client" }
],
"review": [
{ "source": "human_queue", "rubric": "support_reply_v2", "grade": "minor_issue",
"comment": "Correct window, but the order was already refunded. Should have called lookup_order." },
{ "source": "llm_judge", "evaluator": "policy_accuracy_v4", "score": 1.0 }
],
"provenance": { "provider_terms_ref": "terms/[PROVIDER]_2026-01.txt", "input_consent_basis": "customer_agreement_clause",
"sampling": "all_traffic" }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train on human-corrected outputs
A draft paired with the version a person edited and sent gives a target written by someone doing the job.
Build evaluation sets from real inputs
Production requests with known failures and reviewer grades make test cases a lab cannot write from imagination.
Study prompt revision
Template versions with before and after scores on fixed cases support models that propose or rank prompt changes.
Calibrate automated graders
Calls with both a human grade and a model-judge score show where an evaluator agrees with people.
Improve retrieval for RAG
Queries, the chunks returned and whether the answer was accepted or corrected give relevance signal tied to an outcome.
Use-case guides: Private evaluation sets, Customer support agents, Enterprise and computer-use agents, Document AI, enterprise search and RAG
What makes this data valuable
Template and rendered prompt both kept
With both, what the team wrote separates from what the user and retriever supplied.
Version pinned on every call
A logged template version beats one inferred by matching text.
Evaluations tied to revisions
Each revision links to an experiment run on a named test set with a named scorer.
Human feedback with a recorded join
Signals carry a source and a trace ID passed through the client.
Retrieved context stored
Chunk text or an index snapshot is present, so a trace can be graded as the model saw it.
Sampling documented
The log states whether it holds all traffic or a sample, and what was truncated.
Record timeline
LLM logs dataset
Prompt history paired with the evaluation of each revision
A collection of prompts shows what someone wrote. It does not show whether any of it worked. Inside a team that runs an LLM feature, a prompt is a versioned artifact, kept in a prompt management tool with numbered versions and labels such as production, or in git as template files beside the code. Each revision exists for a reason: a failure seen in production traces, a move to a new model, a cost target. Careful teams run each candidate against a fixed set of test cases before promoting it, and the tracing tool stores the result as an experiment with per-case outputs and scores.
Version 13 and version 14 of a template, the change note, and the scores of both on the same cases form a record of what was changed and whether it helped. It includes the revisions that scored worse and were rolled back, which public prompt collections leave out.
The pairing breaks in known ways, so check it on the sample. Many logs store only the rendered prompt, and the version then has to be inferred by matching text, which is unreliable when a template has conditional sections or picks examples at run time. Scores compare across revisions only if the test cases and the scorer stayed fixed, and a scorer that is itself a model has a prompt and a version too. Where a provider repoints a model alias to a newer snapshot, one template behaves differently over time, so ask whether the log kept the resolved model identifier from each response.
Feedback carries the value and completions carry provider terms
A logged completion is the least scarce item in the record, since the same prompt sent to the same model yields another one. The scarce columns hold what the feature's own users and reviewers did with it: a thumbs rating, an edit to a draft before it was sent, a regenerate click, an abandoned session, an escalation to a person, or a grade from an annotation queue. Which of these exist depends on the product. A drafting feature records edits, while a chat feature mostly records ratings and regenerations. Explicit ratings cover only a share of calls and come from self-selected users. Implicit signals are more plentiful but ambiguous, since a regenerate can mean a wrong answer or curiosity.
Feedback often lives in the product database, not the tracing tool, and reaches a trace only if the application carried the trace ID to the front end and back. Where it did not, the join is inferred from session and time and should carry a confidence flag. A rating also attaches to the whole trace, so a thumbs-down on a retrieval-backed answer does not say whether the retriever or the model failed. Automated evaluator scores often arrive through the same scores API as human grades, so the two must be told apart before either is used as a label.
The completions also arrive with terms attached. Each was generated under a model provider's terms, and several commercial providers' terms restrict using the service or its outputs to develop competing models, some with stated exceptions. The wording differs by provider, plan and date, open-weight models carry their own licenses, and a feature that switched or routed between models has to be resolved call by call before counsel reads the terms. Some buyers scope the license to inputs, templates, feedback and human-edited final versions, and keep raw completions as reference only. The inputs raise a separate question, the basis on which end users' text was logged, which the partner's terms, privacy notice and customer contracts answer.
What to check before licensing
- Identify the provider and model behind each completion, and have counsel read the terms that applied on the call dates for limits on using outputs to train or develop models.
- Ask for the consent basis for logged end-user inputs: the partner's terms, privacy notice and enterprise customer contracts, and whether any customers opted out of logging.
- Review de-identification of free text on the sample, including pasted emails, uploaded files and retrieved chunks that may hold other customers' material.
- Check that each call records its prompt template version, and ask how the version was inferred where it does not.
- Ask where feedback was recorded and how it was joined to traces, and measure the share of sample traces that carry a human signal, not an automated score.
- Ask whether logging was sampled, whether long prompts and outputs were truncated, and whether streamed responses and file inputs were stored whole.
- Ask whether test cases and scorers stayed fixed across prompt revisions, and whether evaluation cases drawn from production traces also appear in the delivery.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can the logged completions be used to train a model?
That depends on the terms of the model provider that generated them. Several commercial providers' terms restrict using the service or its outputs to develop competing models, and the wording varies by provider, plan and date. Ask which model produced each completion and have counsel read the terms that applied. Inputs, prompt templates, feedback and human-edited final versions are a separate matter from the raw completions.
What kinds of feedback do LLM application logs contain?
Whatever the product captured. Common signals are thumbs ratings, edits a user made to a draft before sending it, regenerate and copy actions, escalations to a human, and grades from internal reviewers. Automated evaluator scores are often stored beside them, so check they are labeled as machine-made. Ask what share of traces on the sample carries a human signal and of which kind.
How is text typed by end users de-identified?
Names, contact details and account numbers are removed or replaced before delivery, and the method is recorded for the dataset. Free text is harder than structured fields, because users paste emails, records and whole documents into a prompt. No method is perfect. Review the sample for the identifier types you care about, and ask whether retrieved chunks and file uploads went through the same process.
How far back do these logs go?
Not far, compared with most business records. A log starts when the feature launched and tracing was switched on, and observability tools apply retention windows that depend on plan and settings. Many teams also log a sample of traffic, not all of it. Specify the date range, the features and the minimum number of traces you need.
Can I license the prompt library and evaluations without the production logs?
Yes, you can specify that scope, and whether a partner agrees to it is settled per deal. Versioned templates, tool definitions, test cases and the experiment results for each revision are useful alone, and they hold little end-user text. Production traces supply the real inputs and the feedback, so say in your spec whether you need both, and whether evaluation cases drawn from production must be kept apart.
How are chains, retrieval steps and agent runs represented?
As a tree of spans under one trace. Each span is a step, such as a retrieval query, a model call, a tool execution or an output parser, with its inputs, outputs, timing and errors. Ask whether tool results and retrieved chunks were stored in full or only by reference, because a trace without them cannot be graded.
Related datasets
- Coding agent session traces on private repositories
Session logs of AI coding agents on private repositories, joined to the human verdict on each result
- Human feedback and QA-scored work
Work items with scores, verdicts and corrections from the people who reviewed them
- Customer support ticket datasets
Resolved support cases with full threads, internal notes and outcomes
- ML training code and experiment logs
Training repositories with configs and the tracked record of every run, including failed, pruned and abandoned runs, plus evaluation reports
- Chatbot logs with human handoff
Customer conversations that start with a bot and continue with a human agent, kept as one thread
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.