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

Add Gmail Toolkit #2946

Closed
uthmanmoh opened this issue Oct 17, 2023 · 8 comments · Fixed by #3438
Closed

Add Gmail Toolkit #2946

uthmanmoh opened this issue Oct 17, 2023 · 8 comments · Fixed by #3438
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features help wanted This would make a good PR

Comments

@uthmanmoh
Copy link
Contributor

Feature request

We suggest implementing the Gmail Toolkit for LangchainJS to integrate with agent functionality.

Motivation

The Python version of Langchain contains the Gmail Toolkit already, but this feature doesn't exist in langchainJS, so we wish to bring parity between the two for this feature.

Your contribution

Our team is willing to submit a PR for this once complete.

We would love some guidance on how to approach this issue.

@dosubot dosubot bot added the auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features label Oct 17, 2023
@dosubot
Copy link

dosubot bot commented Oct 17, 2023

🤖

Thank you for your interest in contributing to langchainjs! We appreciate your suggestion to implement the Gmail Toolkit for LangchainJS. It's great to hear that your team is willing to submit a pull request for this feature.

To get started, here are some steps you can follow to approach this issue:

  1. Fork the langchainjs repository on GitHub.
  2. Create a new branch for your feature implementation.
  3. Implement the Gmail Toolkit functionality in langchainjs.
  4. Write tests to ensure the new feature works as expected.
  5. Commit your changes and push them to your forked repository.
  6. Submit a pull request to the main langchainjs repository.

Please make sure to follow the project's coding conventions and guidelines while implementing the Gmail Toolkit. If you have any specific questions or need guidance during the implementation process, feel free to ask. We're here to help!

Once you have submitted the pull request, the maintainers will review your changes and decide if they should be merged into the main repository. Thank you again for your contribution, and we look forward to reviewing your pull request!


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@bracesproul
Copy link
Member

hey @1239uth it would be great to have that integration! A good place to start could be using the langchain translator to get a quick starting point for your JS implementation.

@jacoblee93 jacoblee93 added the help wanted This would make a good PR label Oct 28, 2023
@pythagoras-yamamoto
Copy link

I believe I could contribute effectively to resolving this issue.
I'll give it a try!

@uthmanmoh
Copy link
Contributor Author

Hey @pythagoras-yamamoto, our team has already started working on this and should be making a PR soon.

@alexleventer
Copy link
Contributor

Hey @jacoblee93 - have you been able to get the gmail toolkit to work? I'm having issues with auth

@jacoblee93
Copy link
Collaborator

jacoblee93 commented Jan 9, 2024

Thanks for flagging! Will try to give it a look tomorrow 🙏

@uthmanmoh
Copy link
Contributor Author

I'm having issues with auth

To test Gmail auth you need a Google Workspace Account from what we learned. Thats the only way the JWT auth works I believe.

@alexleventer
Copy link
Contributor

I was able to pretty much immediately get things working with the Google Node SDK and a custom dynamic tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features help wanted This would make a good PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants