Metadata-Version: 2.3
Name: langchain-pipeshift
Version: 0.1.0
Summary: An integration package connecting Pipeshift and LangChain
Home-page: https://github.com/langchain-ai/langchain
License: MIT
Author: Pipeshift
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: aiohttp (>=3.9.5,<4.0.0)
Requires-Dist: importlib-metadata (>=8.5.0,<9.0.0)
Requires-Dist: langchain-community (>=0.3.14,<0.4.0)
Requires-Dist: langchain-core (>=0.3.15,<0.4.0)
Requires-Dist: langchain-openai (>=0.2.1,<0.3.0)
Requires-Dist: openai (>=1.51.0,<2.0.0)
Requires-Dist: requests (>=2.32.3,<3.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%22pipeshift%3D%3D0%22&expanded=true
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/partners/pipeshift
Description-Content-Type: text/markdown

# langchain-pipeshift

This package contains the LangChain integration with [Pipeshift](https://pipeshift.com)

## Installation
- Start by installing the package:
```bash
pip install -U langchain-pipeshift
```

## Environment Variables
- Head on to [Pipeshift Dashboard](https://dashboard.pipeshift.com) to get your API key.
- Add the api key to your environment variables:
```bash
PIPESHIFT_API_KEY=<your-api-key>
```

## Chat Models

`ChatPipeshift` class exposes chat models from Pipeshift.

```python
from langchain_pipeshift import ChatPipeshift

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

## LLMs
`Pipeshift` class exposes LLMs from Pipeshift.

```python
from langchain_pipeshift import Pipeshift

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