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

community: Add Google Calendar Toolkit #28402

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

jorge-jrzz
Copy link

Description: This PR implements the integration with Google Calendar to LangChain, which allows the functionality to manage in different ways the events in the calendar.

This toolkit allows the following with the following options:

  • Create events:
    • summary
    • start_datetime
    • end_datetime
    • calendar_id
    • timezone
    • recurrence
    • location
    • description
    • attendees
    • reminders
    • conference_data
    • color_id
    • transparency
  • Update events (with the same options as for creating events)
  • Delete events:
    • send_updates
  • Move events between calendars
    • send_updates
  • Serach events:
    • min_datetime
    • max_datetime
    • max_results
    • single_events
    • query
  • Get calendars info

Issue: #10536
Discussion: #17586
PR: #652

Dependencies: None

Twitter handle: @jorge_jrzz

  • Add tests and docs

Appendix:
The main inspiration was the Gmail toolkit and the Office365 toolkit (#6306)

Copy link

vercel bot commented Nov 28, 2024

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

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:30pm

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. community Related to langchain-community Ɑ: agent Related to agents module labels Nov 28, 2024
@Maiki2002
Copy link

Great job!!!!

@ivangv0505
Copy link

Very good job, congrats!

@jorge-jrzz
Copy link
Author

jorge-jrzz commented Dec 3, 2024

What do you think about this, @baskaryan @ccurme ?

Copy link
Member

@efriis efriis left a comment

Choose a reason for hiding this comment

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

asking the google folks if the google-auth-httplib2 library is recommended or not because their readme is a bit unclear.

might be good to host this out of the langchain-google-community package instead (so the experts can review it) - but will take a look when they get back to me!

@efriis efriis self-assigned this Dec 10, 2024
@efriis
Copy link
Member

efriis commented Dec 10, 2024

they got back to me! google-auth-httplib2 is likely EOL (it was a transition package), and the recommended alternative is google-auth.

Would you be able to swap out for the non-EOL auth package in the next few days, or would it make sense to close this and reopen when that's in (or even file an issue with this as a reference implementation)?

@jorge-jrzz
Copy link
Author

I just saw your message about google-auth-httplib2 being marked as EOL and the recommended package being google-auth. Thanks a lot for confirming that.
I'm going to make the switch to the recommended package in the next few days, which involves updating dependencies in the code and checking that all current functionality still works correctly with google-auth.

Thanks for taking the time to check it out!

@efriis
Copy link
Member

efriis commented Dec 10, 2024

amazing thank you! Will convert this to draft, and mark as "ready for review" when you're ready again!

@efriis efriis marked this pull request as draft December 10, 2024 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: agent Related to agents module community Related to langchain-community size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

4 participants