langchain/docs/docs/integrations/providers/github.mdx
Leonid Ganeline 086556d466
docs: integrations reference updates 14 (#25928)
Added missed provider pages and links. Fixed inconsistent formatting.
2024-09-02 11:07:45 -07:00

46 lines
1.2 KiB
Plaintext

# GitHub
>[GitHub](https://github.com/) is a developer platform that allows developers to create,
> store, manage and share their code. It uses `Git` software, providing the
> distributed 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 a [personal access token](https://github.com/settings/tokens).
## Document Loader
There are two document loaders available for GitHub.
See a [usage example](/docs/integrations/document_loaders/github).
```python
from langchain_community.document_loaders import GitHubIssuesLoader, GithubFileLoader
```
## Tools/Toolkit
### GitHubToolkit
The `GitHub` toolkit contains tools that enable an LLM agent to interact
with a GitHub repository.
The toolkit is a wrapper for the `PyGitHub` library.
```python
from langchain_community.agent_toolkits.github.toolkit import GitHubToolkit
```
Learn more in the [example notebook](/docs/integrations/tools/github).
### GitHubAction
Tool for interacting with the GitHub API.
```python
from langchain_community.tools.github.tool import GitHubAction
```