Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaked telemetry notebook text #203

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions notebook/agentchat_swarm_graphrag_telemetry_trip_planner.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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."
]
},
{
Expand All @@ -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\"])"
]
},
{
Expand All @@ -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\"])"
]
},
{
Expand Down Expand Up @@ -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",
")"
]
},
Expand Down
Loading