[PR #21] [MERGED] [WIP] add agentic RAG notebook #218

Closed
opened 2026-02-16 01:16:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/21
Author: @jerryjliu
Created: 6/21/2024
Status: Merged
Merged: 6/23/2024
Merged by: @logan-markewich

Base: mainHead: jerry/add_agentic_rag_toolservice


📝 Commits (7)

📊 Changes

23 files changed (+542 additions, -70 deletions)

View changed files

example_scripts/agentic_rag_toolservice.ipynb (+455 -0)
📝 llama_agents/__init__.py (+15 -3)
📝 llama_agents/control_plane/server.py (+3 -6)
📝 llama_agents/launchers/local.py (+7 -2)
📝 llama_agents/message_queues/__init__.py (+5 -2)
📝 llama_agents/message_queues/base.py (+11 -9)
📝 llama_agents/message_queues/simple.py (+5 -7)
📝 llama_agents/orchestrators/__init__.py (+0 -4)
📝 llama_agents/orchestrators/agent.py (+1 -1)
📝 llama_agents/orchestrators/pipeline.py (+1 -1)
📝 llama_agents/services/agent.py (+14 -7)
📝 llama_agents/services/base.py (+2 -1)
📝 llama_agents/services/human.py (+4 -6)
📝 llama_agents/services/tool.py (+4 -6)
📝 llama_agents/tools/__init__.py (+3 -1)
📝 llama_agents/tools/meta_service_tool.py (+2 -4)
📝 llama_agents/tools/service_component.py (+0 -0)
📝 llama_agents/tools/service_tool.py (+0 -0)
📝 tests/message_queue_consumers/test_base.py (+1 -1)
📝 tests/message_queues/test_simple.py (+1 -1)

...and 3 more files

📄 Description

Agent service over Uber and Lyft 10K as a tool service

This doesn't fully work yet - it might be due to the AgentOrchestrator. Asking a question "What are the risk factors for Uber" leads to some repeated reasoning loops.

Ofc there's some inefficiencies since we have an "inner" propmt loop with the AgentService and the AgentOrchestrator itself uses prompts.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_deploy/pull/21 **Author:** [@jerryjliu](https://github.com/jerryjliu) **Created:** 6/21/2024 **Status:** ✅ Merged **Merged:** 6/23/2024 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `jerry/add_agentic_rag_toolservice` --- ### 📝 Commits (7) - [`da7a537`](https://github.com/run-llama/llama_deploy/commit/da7a5371dd1817aa9797ac93506d414ae9ef7d59) cr - [`476d6db`](https://github.com/run-llama/llama_deploy/commit/476d6db3af9d5efaacbee02c6ae38f7265365f0b) Merge branch 'main' into jerry/add_agentic_rag_toolservice - [`c44876a`](https://github.com/run-llama/llama_deploy/commit/c44876a178b2bde21698928ae21d439f2e2f4c10) fix notebook - [`79ec486`](https://github.com/run-llama/llama_deploy/commit/79ec486841e587289f97c2dfe7112316ea56cbec) merge main - [`f97cf2a`](https://github.com/run-llama/llama_deploy/commit/f97cf2a8fe8139efa17dae78d9e784f8179b69f8) init import - [`0dce97d`](https://github.com/run-llama/llama_deploy/commit/0dce97dfe1465d339e5a1e5d2d158b8861ae5e74) add better? error handling - [`5f6947e`](https://github.com/run-llama/llama_deploy/commit/5f6947e1e11611e0c91607c64ff0c7bf6fc1c649) fix tests ### 📊 Changes **23 files changed** (+542 additions, -70 deletions) <details> <summary>View changed files</summary> ➕ `example_scripts/agentic_rag_toolservice.ipynb` (+455 -0) 📝 `llama_agents/__init__.py` (+15 -3) 📝 `llama_agents/control_plane/server.py` (+3 -6) 📝 `llama_agents/launchers/local.py` (+7 -2) 📝 `llama_agents/message_queues/__init__.py` (+5 -2) 📝 `llama_agents/message_queues/base.py` (+11 -9) 📝 `llama_agents/message_queues/simple.py` (+5 -7) 📝 `llama_agents/orchestrators/__init__.py` (+0 -4) 📝 `llama_agents/orchestrators/agent.py` (+1 -1) 📝 `llama_agents/orchestrators/pipeline.py` (+1 -1) 📝 `llama_agents/services/agent.py` (+14 -7) 📝 `llama_agents/services/base.py` (+2 -1) 📝 `llama_agents/services/human.py` (+4 -6) 📝 `llama_agents/services/tool.py` (+4 -6) 📝 `llama_agents/tools/__init__.py` (+3 -1) 📝 `llama_agents/tools/meta_service_tool.py` (+2 -4) 📝 `llama_agents/tools/service_component.py` (+0 -0) 📝 `llama_agents/tools/service_tool.py` (+0 -0) 📝 `tests/message_queue_consumers/test_base.py` (+1 -1) 📝 `tests/message_queues/test_simple.py` (+1 -1) _...and 3 more files_ </details> ### 📄 Description Agent service over Uber and Lyft 10K as a tool service This doesn't fully work yet - it might be due to the AgentOrchestrator. Asking a question "What are the risk factors for Uber" leads to some repeated reasoning loops. Ofc there's some inefficiencies since we have an "inner" propmt loop with the AgentService and the AgentOrchestrator itself uses prompts. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:31 -05:00
yindo closed this issue 2026-02-16 01:16:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_deploy#218