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

Changing the tool class and updating the langchain tools #53

Closed
thearyanag opened this issue Dec 25, 2024 · 6 comments
Closed

Changing the tool class and updating the langchain tools #53

thearyanag opened this issue Dec 25, 2024 · 6 comments
Labels
bounty live bounties on earn/gibwork enhancement New feature or request

Comments

@thearyanag
Copy link
Member

thearyanag commented Dec 25, 2024

Is your feature request related to a problem? Please describe.
The current tools under langchain are limited to langchain, and to implement in other frameworks, work needs to be done

Describe the solution you'd like
To fix this, we implement an action interface

interface Action {
  name: string;
  similes: string[];
  description: string;
  examples: ActionExample[][];
  handler: Handler;
  validate: Validator;
}

inspired from eliza, which will make it easier for future development

This can now be plugged into langchain / vercel, given the structure for it

Additional context
https://elizaos.github.io/eliza/docs/core/actions/

@thearyanag thearyanag added the enhancement New feature or request label Dec 25, 2024
@arihantbansal
Copy link
Member

Working on this.

@thearyanag thearyanag changed the title Changing the tool class Changing the tool class and updating the langchain tools Dec 25, 2024
@michaelessiet
Copy link
Collaborator

#72 looks light weight and more modular. I think that might be the solution you're looking for @thearyanag

@arihantbansal arihantbansal mentioned this issue Dec 27, 2024
4 tasks
@thearyanag
Copy link
Member Author

#72 looks light weight and more modular. I think that might be the solution you're looking for @thearyanag

yes, just waiting for a couple of changes

@thearyanag thearyanag added the bounty live bounties on earn/gibwork label Dec 27, 2024
@AIFlowML
Copy link

Was this already solved ?

@TEMHITHORPHE
Copy link

#101 seems like a duplicate of #72, no?

@michaelessiet
Copy link
Collaborator

#101 seems like a duplicate of #72, no?

Seems like it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty live bounties on earn/gibwork enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants