lakehouse/data/_catalog/manifests/eb370ff1-c037-476f-8c3f-61b96b3a6046.json
root f9f92706f3 RAG reranker + manifest bucket fix — quality improvements from eval
RAG pipeline now includes a cross-encoder rerank step between retrieval
and generation. The LLM re-sorts top-K results by relevance before
they become context. Falls back to original order if model output is
unparseable (~5% with 7B models). Also improved the generation prompt
to be domain-aware ("staffing database") and request specific citations.

Fixed 4 catalog manifests with bucket="data" (pre-federation leftover)
that poisoned the entire DataFusion query context on startup. The
"users", "lab_trials", "meta_runs", and "new_candidates" datasets
now correctly reference bucket="primary". This bug was surfaced by
the quality evaluation pipeline — wouldn't have been found by
structural tests alone.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 22:19:11 -05:00

82 lines
1.9 KiB
JSON

{
"id": "eb370ff1-c037-476f-8c3f-61b96b3a6046",
"name": "kb_response_cache_history",
"schema_fingerprint": "9a05c209a51f9543bd7dc9387695b0c67a6abc135b53eaeec458140712bfcf50",
"objects": [
{
"bucket": "primary",
"key": "datasets/kb_response_cache_history.parquet",
"size_bytes": 8292303,
"created_at": "2026-04-17T02:54:43.242879858Z"
}
],
"created_at": "2026-04-17T02:54:43.242880413Z",
"updated_at": "2026-04-17T02:54:43.243017393Z",
"description": "",
"owner": "",
"sensitivity": null,
"columns": [
{
"name": "id",
"data_type": "Int32",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "cache_key",
"data_type": "Utf8",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "run_id",
"data_type": "Int32",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "score",
"data_type": "Float64",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "responses",
"data_type": "Utf8",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "models_used",
"data_type": "Utf8",
"sensitivity": null,
"description": "",
"is_pii": false
},
{
"name": "recorded_at",
"data_type": "Utf8",
"sensitivity": null,
"description": "",
"is_pii": false
}
],
"lineage": {
"source_system": "postgresql",
"source_file": "dsn: postgresql://kbuser@localhost:5432/knowledge_base",
"ingest_job": "pg-stream-1776394483242",
"ingest_timestamp": "2026-04-17T02:54:43.242879858Z",
"parent_datasets": []
},
"freshness": null,
"tags": [],
"row_count": 205,
"last_embedded_at": null,
"embedding_stale_since": null,
"embedding_refresh_policy": null
}