|
156 | 156 | "documents = [\n", |
157 | 157 | " Document(\n", |
158 | 158 | " content=\"\"\"Munich, the vibrant capital of Bavaria in southern Germany, exudes a perfect blend of rich cultural\n", |
159 | | - " heritage and modern urban sophistication. Nestled along the banks of the Isar River, Munich is renowned\n", |
160 | | - " for its splendid architecture, including the iconic Neues Rathaus (New Town Hall) at Marienplatz and\n", |
161 | | - " the grandeur of Nymphenburg Palace. The city is a haven for art enthusiasts, with world-class museums like the\n", |
162 | | - " Alte Pinakothek housing masterpieces by renowned artists. Munich is also famous for its lively beer gardens, where\n", |
163 | | - " locals and tourists gather to enjoy the city's famed beers and traditional Bavarian cuisine. The city's annual\n", |
164 | | - " Oktoberfest celebration, the world's largest beer festival, attracts millions of visitors from around the globe.\n", |
165 | | - " Beyond its cultural and culinary delights, Munich offers picturesque parks like the English Garden, providing a\n", |
166 | | - " serene escape within the heart of the bustling metropolis. Visitors are charmed by Munich's warm hospitality,\n", |
167 | | - " making it a must-visit destination for travelers seeking a taste of both old-world charm and contemporary allure.\"\"\"\n", |
| 159 | + "heritage and modern urban sophistication. Nestled along the banks of the Isar River, Munich is renowned\n", |
| 160 | + "for its splendid architecture, including the iconic Neues Rathaus (New Town Hall) at Marienplatz and\n", |
| 161 | + "the grandeur of Nymphenburg Palace. The city is a haven for art enthusiasts, with world-class museums like the\n", |
| 162 | + "Alte Pinakothek housing masterpieces by renowned artists. Munich is also famous for its lively beer gardens, where\n", |
| 163 | + "locals and tourists gather to enjoy the city's famed beers and traditional Bavarian cuisine. The city's annual\n", |
| 164 | + "Oktoberfest celebration, the world's largest beer festival, attracts millions of visitors from around the globe.\n", |
| 165 | + "Beyond its cultural and culinary delights, Munich offers picturesque parks like the English Garden, providing a\n", |
| 166 | + "serene escape within the heart of the bustling metropolis. Visitors are charmed by Munich's warm hospitality,\n", |
| 167 | + "making it a must-visit destination for travelers seeking a taste of both old-world charm and contemporary allure.\"\"\"\n", |
168 | 168 | " )\n", |
169 | 169 | "]\n", |
170 | 170 | "\n", |
|
430 | 430 | } |
431 | 431 | ], |
432 | 432 | "source": [ |
433 | | - "query = \"Where is Munich?\"\n", |
| 433 | + "query = \"What region of Germany is Munich in?\"\n", |
434 | 434 | "\n", |
435 | 435 | "result = agentic_rag_pipe.run(\n", |
436 | 436 | " {\"retriever\": {\"query\": query}, \"prompt_builder\": {\"query\": query}, \"router\": {\"query\": query}}\n", |
|
562 | 562 | "provenance": [] |
563 | 563 | }, |
564 | 564 | "kernelspec": { |
565 | | - "display_name": ".venv", |
| 565 | + "display_name": "Python 3 (ipykernel)", |
566 | 566 | "language": "python", |
567 | 567 | "name": "python3" |
568 | 568 | }, |
|
576 | 576 | "name": "python", |
577 | 577 | "nbconvert_exporter": "python", |
578 | 578 | "pygments_lexer": "ipython3", |
579 | | - "version": "3.9.6" |
| 579 | + "version": "3.12.11" |
580 | 580 | } |
581 | 581 | }, |
582 | 582 | "nbformat": 4, |
583 | | - "nbformat_minor": 0 |
| 583 | + "nbformat_minor": 4 |
584 | 584 | } |
0 commit comments