GitHub
GitHub is a developer platform that allows developers to create,store, manage and share their code. It uses
Git
software, providing thedistributed version control of Git plus access control, bug tracking,software feature requests, task management, continuous integration, and wikis for every project.
Installation and Setup
To access the GitHub API, you need apersonal access token.
Document Loader
There are two document loaders available for GitHub.
See ausage example.
from langchain_community.document_loadersimport GitHubIssuesLoader, GithubFileLoader
API Reference:GitHubIssuesLoader |GithubFileLoader
Tools/Toolkit
GitHubToolkit
TheGitHub
toolkit contains tools that enable an LLM agent to interactwith a GitHub repository.
The toolkit is a wrapper for thePyGitHub
library.
from langchain_community.agent_toolkits.github.toolkitimport GitHubToolkit
API Reference:GitHubToolkit
Learn more in theexample notebook.
GitHubAction
Tool for interacting with the GitHub API.
from langchain_community.tools.github.toolimport GitHubAction
API Reference:GitHubAction