docs: add Google Classroom document loader integration#4909
docs: add Google Classroom document loader integration#4909Nishchal Chandel (ayanokojix21) wants to merge 2 commits into
Conversation
|
Thanks for opening a docs PR, Nishchal Chandel (@ayanokojix21)! When it's ready for review, please add the relevant reviewers:
|
|
Thanks for contributing a new integration docs page, Nishchal Chandel (@ayanokojix21)! We receive a large number of PRs and review them as quickly as we can. Please bear with us as we work through the queue. If you have already tagged a maintainer on this PR, do not tag them again. |
There was a problem hiding this comment.
Pull request overview
This PR adds LangChain OSS (Python) integration documentation for the community-maintained langchain-google-classroom package, including a new loader guide and an entry in the document loaders index so users can discover it.
Changes:
- Added a new integration guide page for
GoogleClassroomLoader, including setup, credentials, and usage examples. - Updated the document loaders index to include Google Classroom under “Productivity tools”.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/oss/python/integrations/document_loaders/google_classroom.mdx | New integration documentation page for the Google Classroom loader. |
| src/oss/python/integrations/document_loaders/index.mdx | Adds Google Classroom to the “Productivity tools” table for discoverability. |
| | Document Loader | API reference | | ||
| |----------------|---------------| | ||
| | [AgentMail](/oss/integrations/document_loaders/agentmail) | [`AgentMailLoader`](https://github.com/agentmail-to/langchain-agentmail) | | ||
| | [Google Classroom](/oss/python/integrations/document_loaders/google_classroom) | [`GoogleClassroomLoader`](https://pypi.org/project/langchain-google-classroom/) | |
| This page covers how to load data from Google Classroom using the `GoogleClassroomLoader`. The loader fetches courses, assignments (courseWork), announcements, course materials, student submissions, rubrics, topics, and class rosters from the [Classroom API](https://developers.google.com/classroom) and converts each item into a LangChain `Document`. | ||
|
|
||
| When file attachments are present on classroom items, the loader automatically downloads and parses them from Google Drive — supporting PDF, DOCX, CSV, plain text, Google Docs, Sheets, Slides, and images. |
| 4. One of the following authentication methods: | ||
| - **OAuth 2.0 credentials** — for personal Google accounts or testing | ||
| - **Service Account credentials** — for Google Workspace domains (production) |
c5d16c9 to
311b97d
Compare
| | Document Loader | API reference | | ||
| |----------------|---------------| | ||
| | [AgentMail](/oss/integrations/document_loaders/agentmail) | [`AgentMailLoader`](https://github.com/agentmail-to/langchain-agentmail) | | ||
| | [Google Classroom](/oss/integrations/document_loaders/google_classroom) | [`GoogleClassroomLoader`](https://pypi.org/project/langchain-google-classroom/) | |
| description: "Integrate with the Google Classroom document loader using LangChain Python." | ||
| --- | ||
|
|
||
| > [Google Classroom](https://edu.google.com/workspace-for-education/classroom/) is a free learning management system developed by Google as part of Google Workspace for Education. It is used by over 150 million users across educational institutions worldwide to manage coursework, assignments, and communication. |
| | `load_attachments` | `bool` | `True` | Download and yield Drive file attachments. | | ||
| | `parse_attachments` | `bool` | `True` | Parse attachment content using built-in parsers. | | ||
| | `load_submissions` | `bool` | `False` | Load student submissions. Adds the required scope automatically. | |
311b97d to
70871c1
Compare
|
Thanks for opening a docs PR, Nishchal Chandel (@ayanokojix21)! When it's ready for review, please add the relevant reviewers:
|
|
Mason Daugherty (@mdrxy) Ready for review - this adds integration documentation for the |
Description
Adds integration documentation for
langchain-google-classroom.A community-maintained document loader that extracts structured data from Google Classroom via the Classroom API.
What it does
GoogleClassroomLoaderloads the following Google Classroom resources as LangChainDocumentobjects:The loader also resolves Google Drive file attachments (PDF, DOCX, CSV, images, Google Docs/Sheets/Slides), downloads them, and parses them into additional
Documentobjects using pluggable parsers that implement LangChain'sBaseBlobParserinterface. An optional vision LLM can be provided for image understanding in PDFs and image attachments.Why this integration is valuable
Google Classroom is used by 150M+ users across educational institutions worldwide. This loader enables LLM-powered education tools like tutoring assistants, grading aids, curriculum analyzers, and educational RAG pipelines to access structured Classroom data through LangChain's standard
BaseLoaderinterface, with full support forload(),lazy_load(), andalazy_load().Package details
Changes
src/oss/python/integrations/document_loaders/google_classroom.mdxsrc/oss/python/integrations/document_loaders/index.mdxChecklist
BaseLoaderinterface (load(),lazy_load(),alazy_load())title,description)docs.json(individual pages are auto-discovered)