$echo '{
< "conversations": [
< {
< "id": "apify-qa-synthetic-001",
< "title": "Synthetic Export Normalization Example",
< "create_time": 1760100000,
< "update_time": 1760100060,
< "current_node": "apify-qa-assistant-001",
< "mapping": {
< "apify-qa-root-001": {
< "id": "apify-qa-root-001",
< "parent": null,
< "children": [
< "apify-qa-user-001"
< ],
< "message": null
< },
< "apify-qa-user-001": {
< "id": "apify-qa-user-001",
< "parent": "apify-qa-root-001",
< "children": [
< "apify-qa-assistant-001"
< ],
< "message": {
< "id": "apify-qa-message-user-001",
< "author": {
< "role": "user",
< "name": null,
< "metadata": {}
< },
< "create_time": 1760100001,
< "content": {
< "content_type": "text",
< "parts": [
< "Normalize this synthetic conversation export."
< ]
< },
< "metadata": {}
< }
< },
< "apify-qa-assistant-001": {
< "id": "apify-qa-assistant-001",
< "parent": "apify-qa-user-001",
< "children": [],
< "message": {
< "id": "apify-qa-message-assistant-001",
< "author": {
< "role": "assistant",
< "name": null,
< "metadata": {}
< },
< "create_time": 1760100002,
< "content": {
< "content_type": "text",
< "parts": [
< "Synthetic export accepted for automated quality assurance."
< ]
< },
< "metadata": {
< "model_slug": "synthetic-qa-example"
< }
< }
< }
< }
< }
< ]
<}' |
<apify call z3n_m4nt1s/ai-chat-export-normalizer --silent --output-dataset