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

2502 google docs connector #3324

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sammingasainath
Copy link

Pull Request Type

  • ✨ feat

Relevant Issues

resolves #xxx (Please replace with actual issue number if exists)

What is in this change?

This PR adds Google Docs integration and synchronization functionality to AnythingLLM. Key features include:

  1. Google Docs Connection & Authentication

    • Support for connecting Google Docs as a document source
    • Secure handling of Google Doc authentication
  2. Document Synchronization

    • Automatic syncing of Google Docs content
    • Real-time updates when documents change
    • Proper handling of document IDs and metadata
    • Vector store integration for synchronized content
  3. Workspace Integration

    • Documents are properly associated with workspaces
    • Namespace management for vector operations
    • Queue system for periodic document updates
  4. Error Handling & Logging

    • Robust error handling for sync operations
    • Detailed logging for debugging and monitoring
    • Graceful fallback mechanisms

Additional Information

The implementation includes:

  • Support for various Google Doc ID formats
  • Automatic vector store namespace initialization
  • Document metadata preservation during syncs
  • Background sync queue management
  • Configurable sync intervals

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • [ ✔] Relevant documentation has been updated
  • [ ✔] I have tested my code functionality
  • Docker build succeeds locally

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.

1 participant