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

Consolidate autoDrive and vectorDb tools to agentExperience tool #344

Merged
merged 5 commits into from
Mar 16, 2025

Conversation

jfrank-summit
Copy link
Member

@jfrank-summit jfrank-summit commented Mar 14, 2025

This pull request consolidates and refactors the tools related to agent experiences and vector database interactions. The changes include moving and updating several tools to a new module, agentExperiences, and removing redundant code from other modules.

Closes #323

Refactoring and Consolidation:

  • src/agents/tools/agentExperiences/index.ts: Added new tools for saving experiences, searching the vector database, and querying content using SQL. These tools include comprehensive descriptions and schemas for input validation.

Code Removal:

  • src/agents/tools/autoDrive/index.ts: Removed the createSaveExperienceTool function as it has been moved and refactored in the new agentExperiences module.
  • src/agents/tools/vectorDb/index.ts: Removed the createExperienceVectorDbSearchTool and createExperienceVectorDbQueryContentTool functions, which are now part of the agentExperiences module.

Workflow Update:

@jfrank-summit jfrank-summit requested a review from Xm0onh March 14, 2025 23:54
Copy link
Member

@Xm0onh Xm0onh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
Just a suggestion:

Copy link
Member

@Xm0onh Xm0onh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GTG!

@jfrank-summit jfrank-summit merged commit f580806 into main Mar 16, 2025
13 checks passed
@jfrank-summit jfrank-summit deleted the ref/experiences branch March 16, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consolidate autoDrive and vectorDb tools -> experiences (name tbd)
2 participants