Closed leehuwuj closed 2 weeks ago
Latest commit: 6e5486c75d3b94cd2c4d0019bc79bbd2c6677615
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request introduces significant changes, including the creation of new workflows for generating financial reports and filling forms, along with optimizations to existing workflow code for Python. It updates various documentation paths and modifies multi-agent template tests by adding a new agent. Several files related to financial reporting and form filling have been deleted, consolidating their functionalities into new workflow structures. The overall architecture has been restructured to enhance clarity and efficiency in managing agent interactions and workflows.
File Path | Change Summary |
---|---|
.changeset/light-parrots-work.md | Introduced a patch "create-llama" for optimizing workflow code generation for Python. |
e2e/shared/multiagent_template.spec.ts | Added "form_filling" to templateAgents ; added conditional skip to specific tests. |
templates/components/agents/python/blog/README-template.md | Updated file paths for agent interaction methods from ./app/examples/ to ./app/agents/ . |
templates/components/agents/python/blog/app/workflows/init.py | Added create_workflow to __all__ for export. |
templates/components/agents/python/blog/app/workflows/blog.py | Renamed get_chat_engine to create_workflow and updated its signature. |
templates/components/agents/python/blog/app/workflows/single.py | Modified AgentRunEvent response structure and added streaming input handling methods. |
templates/components/agents/python/financial_report/README-template.md | Updated workflow module path from app/financial_report/workflow.py to app/workflows/ . |
templates/components/agents/python/financial_report/app/agents/analyst.py | Deleted file containing analyst agent functionality. |
templates/components/agents/python/financial_report/app/agents/reporter.py | Deleted file containing reporter agent functionality. |
templates/components/agents/python/financial_report/app/agents/researcher.py | Deleted file containing researcher agent functionality. |
templates/components/agents/python/financial_report/app/agents/workflow.py | Deleted file containing financial report generation workflow. |
templates/components/agents/python/financial_report/app/engine/engine.py | Deleted file containing get_chat_engine function. |
templates/components/agents/python/financial_report/app/workflows/init.py | Added create_workflow to __all__ for export. |
templates/components/agents/python/financial_report/app/workflows/financial_report.py | Introduced new file for financial report generation workflow with event handling. |
templates/components/agents/python/form_filling/README-template.md | Updated API editing path from app/agents/form_filling.py to app/workflows/form_filling.py . |
templates/components/agents/python/form_filling/app/agents/form_filling.py | Deleted file containing form filling workflow functionality. |
templates/components/agents/python/form_filling/app/engine/engine.py | Deleted file containing get_chat_engine function. |
templates/components/agents/python/form_filling/app/workflows/init.py | Added create_workflow to __all__ for export. |
templates/components/agents/python/form_filling/app/workflows/form_filling.py | Introduced new file for form filling workflow with event handling. |
templates/components/multiagent/python/app/api/routers/chat.py | Modified chat endpoint to utilize create_workflow and updated event handling. |
templates/components/multiagent/python/app/workflows/events.py | Introduced AgentRunEventType and AgentRunEvent classes for event handling. |
templates/components/multiagent/python/app/workflows/function_calling_agent.py | Introduced FunctionCallingAgent class for LLM interactions with tools. |
templates/components/multiagent/python/app/workflows/tools.py | Introduced classes and functions for managing tool interactions in chat workflows. |
LLamaCloudFileService
, which may relate to the optimizations in the main PR that focuses on workflow generation for Python.In the burrow where changes bloom,
Workflows dance and find their room.
Forms are filled, reports take flight,
Optimized paths shine ever bright.
With every hop, new features grow,
A rabbit's joy in code's sweet flow! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
create_workflow
function for financial report generation and form filling workflows.form_filling
agent to the multiagent template, enhancing its capabilities."form_filling"
.Bug Fixes
Documentation
Chores