Skip to content

Conversation

@sdelgadoc
Copy link
Contributor

@sdelgadoc sdelgadoc commented Jun 16, 2023

Background

With the development of structured tools, the LangChain team expanded the platform's functionality to meet the needs of new applications. The GMail tool, empowered by structured tools, now supports multiple arguments and powerful search capabilities, demonstrating LangChain's ability to interact with dynamic data sources like email servers.

Challenge

The current GMail tool only supports GMail, while users often utilize other email services like Outlook in Office365. Additionally, the proposed calendar tool in PR #652 only works with Google Calendar, not Outlook.

Changes

This PR implements an Office365 integration for LangChain, enabling seamless email and calendar functionality with a single authentication process.

Future Work

With the core Office365 integration complete, future work could include integrating other Office365 tools such as Tasks and Address Book.

Who can review?

@hwchase17 or @vowelparrot can review this PR

Appendix

@janscas, I utilized your O365 library extensively. Given the rising popularity of LangChain and similar AI frameworks, the convergence of libraries like O365 and tools like this one is likely. So, I wanted to keep you updated on our progress.

<!--
Thank you for contributing to LangChain! Your PR will appear in our release under the title you set. Please make sure it highlights your valuable contribution.

Replace this with a description of the change, the issue it fixes (if applicable), and relevant context. List any dependencies required for this change.

After you're done, someone will review your PR. They may suggest improvements. If no one reviews your PR within a few days, feel free to @-mention the same people again, as notifications can get lost.

Finally, we'd love to show appreciation for your contribution - if you'd like us to shout you out on Twitter, please also include your handle!
-->

<!-- Remove if not applicable -->

Fixes # (issue)

#### Before submitting

<!-- If you're adding a new integration, please include:

1. a test for the integration - favor unit tests that does not rely on network access.
2. an example notebook showing its use

See contribution guidelines for more information on how to write tests, lint
etc:

https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->

#### Who can review?

Tag maintainers/contributors who might be interested:

<!-- For a quicker response, figure out the right person to tag with @

  @hwchase17 - project lead

  Tracing / Callbacks
  - @agola11

  Async
  - @agola11

  DataLoaders
  - @eyurtsev

  Models
  - @hwchase17
  - @agola11

  Agents / Tools / Toolkits
  - @hwchase17

  VectorStores / Retrievers / Memory
  - @dev2049

 -->
@vercel
Copy link

vercel bot commented Jun 16, 2023

@sdelgadoc is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

@sdelgadoc sdelgadoc marked this pull request as ready for review June 16, 2023 20:32
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

this is pretty awesome! some minor lint issues but otherwise looks great

@sdelgadoc
Copy link
Contributor Author

sdelgadoc commented Jun 19, 2023

Made lint-recommended changes. If this is good to merge, and you guys are OK giving this new feature a shout-out on Twitter, my Twitter account is @santiagodc. Thanks!

@vercel
Copy link

vercel bot commented Jun 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain 🛑 Canceled (Inspect) Jun 26, 2023 10:01am

@vercel vercel bot temporarily deployed to Preview June 21, 2023 08:42 Inactive
@sdelgadoc
Copy link
Contributor Author

Thanks @dev2049 for the formatting updates. They looks good!

@vercel vercel bot temporarily deployed to Preview June 22, 2023 14:52 Inactive
@vercel vercel bot temporarily deployed to Preview June 22, 2023 19:18 Inactive
@vercel vercel bot temporarily deployed to Preview June 23, 2023 18:42 Inactive
@sdelgadoc sdelgadoc requested a review from hwchase17 June 23, 2023 18:43
@sdelgadoc
Copy link
Contributor Author

@hwchase17 let me know if I need to work on anything else to merge. @dev2049 was very helpful with formatting edits, and it looks like Vercel didn't find any issues.

@alejcas
Copy link

alejcas commented Jun 26, 2023

Appendix

@janscas, I utilized your O365 library extensively. Given the rising popularity of LangChain and similar AI frameworks, the convergence of libraries like O365 and tools like this one is likely. So, I wanted to keep you updated on our progress.

Thanks

@dev2049 dev2049 merged commit d84a3bc into langchain-ai:master Jun 26, 2023
@vercel vercel bot temporarily deployed to Preview June 26, 2023 10:01 Inactive
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.

4 participants