Metadata-Version: 2.3
Name: langchain-github-copilot
Version: 0.2.0
Summary: An integration package connecting GitHub Copilot and LangChain
License: MIT
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: langchain-core (>=0.3.15,<0.4.0)
Project-URL: Repository, https://github.com/datalayer/langchain-github-copilot
Project-URL: Source Code, https://github.com/datalayer/langchain-github-copilot
Description-Content-Type: text/markdown

# langchain-github-copilot

This package contains the LangChain integration with GithubCopilot

## Installation

```bash
pip install -U langchain-github-copilot
```

And you should configure credentials by setting the following environment variables:

`GITHUB_TOKEN`

<details>
<summary>How to get a Github Token?</summary>
Run the setup.py python script to create a .env file with the Github Token.

```bash
python setup.py
```
</details>

## Chat Models

`ChatGithubCopilot` class exposes chat models from GithubCopilot.

```python
from langchain_github_copilot import ChatGithubCopilot

llm = ChatGithubCopilot()
llm.invoke("Sing a ballad of LangChain.")
```


