Metadata-Version: 2.1
Name: langchain-githubcopilot-chat
Version: 0.1.2
Summary: An integration package connecting GithubcopilotChat and LangChain
Home-page: https://github.com/langchain-ai/langchain
License: MIT
Author: YIhan Wu
Author-email: iumm@ibat.ac.cn
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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: httpx (>=0.28.1)
Requires-Dist: langchain-core (>=1.1.0,<2.0.0)
Project-URL: Repository, https://github.com/langchain-ai/langchain
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22githubcopilot-chat%3D%3D0%22&expanded=true
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/partners/githubcopilot-chat
Description-Content-Type: text/markdown

# langchain-githubcopilot-chat

This package contains the LangChain integration with GithubcopilotChat

## Installation

```bash
pip install -U langchain-githubcopilot-chat
```

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

* TODO: fill this out

## Chat Models

`ChatGithubcopilotChat` class exposes chat models from GithubcopilotChat.

```python
from langchain_githubcopilot_chat import ChatGithubcopilotChat

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

## Embeddings

`GithubcopilotChatEmbeddings` class exposes embeddings from GithubcopilotChat.

```python
from langchain_githubcopilot_chat import GithubcopilotChatEmbeddings

embeddings = GithubcopilotChatEmbeddings()
embeddings.embed_query("What is the meaning of life?")
```

## LLMs

`GithubcopilotChatLLM` class exposes LLMs from GithubcopilotChat.

```python
from langchain_githubcopilot_chat import GithubcopilotChatLLM

llm = GithubcopilotChatLLM()
llm.invoke("The meaning of life is")
```

