Skip to content

Commit a5f9387

Browse files
abossardCopilot
andcommitted
Fix diagram_compare() call in NB05 (left/right, not before/after)
All 8 notebooks verified: execute headless without errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4e2c4e4 commit a5f9387

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

notebooks/05_your_data_is_your_moat.ipynb

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,10 @@
7272
"from dspy_tasks.visualize import diagram_compare\n",
7373
"\n",
7474
"diagram_compare(\n",
75-
" before=[\n",
76-
" {\"label\": \"Generischer Prompt\", \"detail\": \"Keine Domain-Daten\", \"icon\": \"📝\", \"color\": \"#a4262c\"},\n",
77-
" {\"label\": \"LLM\", \"detail\": \"Gemietetes Modell\", \"icon\": \"🤖\", \"color\": \"#8a8886\"},\n",
78-
" {\"label\": \"Ergebnis\", \"detail\": \"Mittelmässig\", \"icon\": \"😐\", \"color\": \"#a4262c\"},\n",
79-
" ],\n",
80-
" after=[\n",
81-
" {\"label\": \"Getuned mit deinen Daten\", \"detail\": \"Echte Tickets\", \"icon\": \"📊\", \"color\": \"#107c10\"},\n",
82-
" {\"label\": \"LLM\", \"detail\": \"Gleich gemietetes Modell\", \"icon\": \"🤖\", \"color\": \"#8a8886\"},\n",
83-
" {\"label\": \"Ergebnis\", \"detail\": \"Deutlich besser!\", \"icon\": \"🎯\", \"color\": \"#107c10\"},\n",
84-
" ],\n",
75+
" left={\"title\": \"Generischer Prompt\", \"items\": [\"Keine Domain-Daten\", \"Gemietetes Modell\", \"Ergebnis: Mittelmässig\"], \"icon\": \"📝\", \"color\": \"#a4262c\"},\n",
76+
" right={\"title\": \"Getuned mit deinen Daten\", \"items\": [\"Echte Tickets als Training\", \"Gleiches Modell\", \"Ergebnis: Deutlich besser! 🎯\"], \"icon\": \"📊\", \"color\": \"#107c10\"},\n",
8577
" title=\"Vorher vs. Nachher: Deine Daten machen den Unterschied\",\n",
86-
")"
78+
")\n"
8779
]
8880
},
8981
{
@@ -196,9 +188,9 @@
196188
],
197189
"metadata": {
198190
"kernelspec": {
199-
"display_name": "Python 3 (ipykernel)",
191+
"display_name": "Python (notebooks/.venv)",
200192
"language": "python",
201-
"name": "python3"
193+
"name": "python-quart-vite-react-notebooks"
202194
},
203195
"language_info": {
204196
"codemirror_mode": {
@@ -215,4 +207,4 @@
215207
},
216208
"nbformat": 4,
217209
"nbformat_minor": 4
218-
}
210+
}

0 commit comments

Comments
 (0)