Metadata-Version: 2.4
Name: langchain-alephantai
Version: 0.1.0
Summary: LangChain integration package for Alephant AI Gateway.
Author: Alephant AI
License: MIT
License-File: LICENSE
Keywords: alephant,cost,gateway,langchain,llm
Requires-Python: >=3.10
Requires-Dist: alephantai>=0.1.0
Requires-Dist: langchain-core<2,>=1
Requires-Dist: langchain-openai<2,>=1.2
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == 'dev'
Requires-Dist: langchain-tests<2,>=1.1; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Requires-Dist: twine>=5; extra == 'dev'
Description-Content-Type: text/markdown

# langchain-alephantai

LangChain integration package for Alephant AI Gateway.

This package provides a LangChain chat model configured for Alephant AI Gateway.

```bash
pip install langchain-alephantai
```

```python
from langchain_alephantai import ChatAlephantAI

llm = ChatAlephantAI(
    api_key="vk-...",
    model="gpt-4o-mini",
    session_name="langchain-chat",
)
```

The package also exports `create_chat_openai` for compatibility with the core
`alephantai` SDK helper.

## Development

Install the package with development dependencies:

```bash
python -m pip install -e ../alephantai -e ".[dev]"
```

Run the package tests, including LangChain standard unit tests:

```bash
pytest tests -q
```

The standard integration tests require live Alephant Gateway credentials and are
skipped by default:

```bash
ALEPHANT_API_KEY="vk-..." pytest tests/test_standard_integration.py -q
```

Set `ALEPHANT_TEST_MODEL` to override the default integration-test model.
