From d2e89d197acfec6b6668d14bf749e10f31dfa499 Mon Sep 17 00:00:00 2001 From: Mark Sze Date: Fri, 13 Dec 2024 01:20:43 +0000 Subject: [PATCH] Tweaked text Signed-off-by: Mark Sze --- ...warm_graphrag_telemetry_trip_planner.ipynb | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/notebook/agentchat_swarm_graphrag_telemetry_trip_planner.ipynb b/notebook/agentchat_swarm_graphrag_telemetry_trip_planner.ipynb index 38e0e6ed07..3cd9d72ada 100644 --- a/notebook/agentchat_swarm_graphrag_telemetry_trip_planner.ipynb +++ b/notebook/agentchat_swarm_graphrag_telemetry_trip_planner.ipynb @@ -10,8 +10,8 @@ "\n", "The following diagram outlines the key components of the Swarm, with highlights being:\n", "\n", + "- **Arize Phoenix to provide transparency using the OpenTelemetry standard**\n", "- FalkorDB agent using a GraphRAG database of restaurants and attractions\n", - "- Arize Phoenix to provide transparency using the OpenTelemetry standard\n", "- Structured Output agent that will enforce a strict format for the accepted itinerary\n", "- Routing agent that utilises the Google Maps API to calculate distances between activites\n", "- Swarm orchestration utilising context variables" @@ -42,9 +42,7 @@ "source": [ "## Install Docker Containers\n", "\n", - "**Note:** This likely requires a docker compose file to get it to work reliably. It didn't require it on my system, but plan to come back to it at some point.\n", - "\n", - "For now I'm more interested in instrumenting GraphRAG solutions to get better visibility to key interations with the LLM -- in particular for entity and link detection." + "**Note:** This may require a Docker Compose file to get it to work reliably." ] }, { @@ -71,10 +69,7 @@ "import subprocess\n", "\n", "# Run the Docker container without interactive mode\n", - "subprocess.Popen([\n", - " \"docker\", \"run\", \"-p\", \"6379:6379\", \"-p\", \"3000:3000\",\n", - " \"--rm\", \"falkordb/falkordb:latest\"\n", - "])" + "subprocess.Popen([\"docker\", \"run\", \"-p\", \"6379:6379\", \"-p\", \"3000:3000\", \"--rm\", \"falkordb/falkordb:latest\"])" ] }, { @@ -98,10 +93,7 @@ "import subprocess\n", "\n", "# Run the Docker container without interactive mode\n", - "subprocess.Popen([\n", - " \"docker\", \"run\", \"-p\", \"6006:6006\", \"-p\", \"4317:4317\",\n", - " \"--rm\", \"arizephoenix/phoenix:latest\"\n", - "])" + "subprocess.Popen([\"docker\", \"run\", \"-p\", \"6006:6006\", \"-p\", \"4317:4317\", \"--rm\", \"arizephoenix/phoenix:latest\"])" ] }, { @@ -130,8 +122,8 @@ "\n", "# defaults to endpoint=\"http://localhost:4317\"\n", "tracer_provider = register(\n", - " project_name=\"ag2-swarm-graphrag\", # Default is 'default'\n", - " endpoint=\"http://localhost:4317\", # Sends traces using gRPC\n", + " project_name=\"ag2-swarm-graphrag\", # Default is 'default'\n", + " endpoint=\"http://localhost:4317\", # Sends traces using gRPC\n", ")" ] },