Closed leehuwuj closed 1 week ago
Latest commit: f7c0c9e266a0a2150d69c7bd1c49fbafb7d4f359
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 a series of changes primarily focused on enhancing TypeScript code for multi-agent functionality and form filling. Key updates include the introduction of new workflows for financial reporting and form filling, modifications to existing workflows, and the addition of tools for handling missing data in CSV files. Several files have been deleted, indicating a refactoring of the codebase. The changes also include updates to README templates, providing guidance on project setup and usage.
File Path | Change Summary |
---|---|
.changeset/metal-cherries-sin.md | Introduces a patch "create-llama" optimizing TypeScript code for multi-agent functionality. |
.changeset/serious-suits-turn.md | Adds a new use case for form filling in TypeScript under the "create-llama" patch. |
e2e/shared/multiagent_template.spec.ts | Modifies test suite logic for "form_filling" agent, updating skip conditions based on framework type. |
helpers/typescript.ts | Updates installTSTemplate function to enhance path handling and copying of use case files. |
questions/simple.ts | Modifies askSimpleQuestions function to allow language selection for all app types except "extractor". |
templates/components/agents/typescript/financial_report/agents.ts | Deleted file containing functions for creating financial report agents. |
templates/components/agents/typescript/financial_report/factory.ts | Deleted file managing workflows for financial reports. |
templates/components/agents/typescript/financial_report/tools.ts | Deleted file managing tool retrieval for financial reporting. |
templates/components/engines/typescript/agent/tools/form-filling.ts | Introduces classes for handling missing cells in CSV files. |
templates/components/engines/typescript/agent/tools/index.ts | Adds new imports and functions for tool management related to form filling. |
templates/components/llamaindex/typescript/documents/helper.ts | Changes UPLOADED_FOLDER from private to exported constant. |
templates/components/llamaindex/typescript/documents/upload.ts | Modifies uploadDocument function to simplify CSV handling logic. |
templates/components/llamaindex/typescript/streaming/annotations.ts | Enhances message handling and introduces new functions for chat history management. |
templates/components/multiagent/typescript/nextjs/route.ts | Refactors POST method for improved message validation and workflow execution. |
templates/components/multiagent/typescript/workflow/stream.ts | Replaces toDataStream with createStreamFromWorkflowContext for better event handling. |
templates/components/multiagent/typescript/workflow/tools.ts | Introduces new functions and a class for tool interactions in a multi-agent framework. |
templates/components/multiagent/typescript/workflow/type.ts | Updates AgentInput type and introduces new event types for enhanced event handling. |
templates/types/streaming/express/package.json | Updates dependencies to include papaparse and related packages. |
templates/types/streaming/nextjs/package.json | Modifies dependencies to correct placement of @llamaindex/chat-ui and add new packages. |
templates/components/multiagent/typescript/workflow/single-agent.ts | Enhances FunctionCallingAgent class and updates method signatures for better integration. |
templates/components/agents/typescript/financial_report/workflow/factory.ts | Introduces a new workflow for financial reporting. |
templates/components/agents/typescript/form_filling/workflow/factory.ts | Introduces a new workflow for form filling. |
templates/components/agents/typescript/blog/workflow/factory.ts | Updates workflow for blog post creation with new event handling. |
templates/components/agents/typescript/blog/workflow/agents.ts | Modifies functions for creating blog-related agents with updated tool retrieval logic. |
templates/components/multiagent/typescript/express/chat.controller.ts | Refactors chat function for improved message handling and workflow execution. |
templates/components/agents/typescript/financial_report/workflow/fin-report.ts | Introduces FinancialReportWorkflow class managing financial data processing. |
templates/components/agents/typescript/form_filling/workflow/form-filling.ts | Introduces FormFillingWorkflow class for managing CSV data filling workflow. |
templates/components/agents/typescript/financial_report/README-template.md | Adds README template for financial report project setup and usage. |
templates/components/agents/typescript/form_filling/README-template.md | Adds README template for form filling project setup and usage. |
🐇 In the land of code where the rabbits play,
New workflows hop in, brightening the day.
With tools for filling and agents that gleam,
Our TypeScript dreams are more than they seem!
So let’s code together, with joy and delight,
For every new change makes our project take flight! 🐇✨
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?
@coderabbitai review
BTW, if you think pass this
to handler is necessary, please justify me
Summary by CodeRabbit
New Features
Bug Fixes
Documentation