Skip to main content

langchain-alephantai

LangChain integration package for Alephant AI Gateway.

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

pip install langchain-alephantai
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:

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

Run the package tests, including LangChain standard unit tests:

pytest tests -m "not integration" -q

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

ALEPHANT_API_KEY="vk-..." pytest tests/test_standard_integration.py -m integration -q

Set ALEPHANT_TEST_MODEL to override the default integration-test model.

Metadata

Release files for langchain-alephantai 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-alephantai 0.1.1
File Size Uploaded Provenance
langchain_alephantai-0.1.1.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-alephantai 0.1.1
File Interpreter ABI Platform
langchain_alephantai-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / langchain_alephantai-0.1.1.tar.gz

Download URL langchain_alephantai-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ec8188aac1fb342e0fecaadd39c9da765a896d11937bcb16237b44b4755d585b
BLAKE2b-256 checksum
How to use checksums
3be4dca9e8e3cb2cfb9914199157da392f21bacdbb30d99c16b1c61020de5a52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / langchain_alephantai-0.1.1-py3-none-any.whl

Download URL langchain_alephantai-0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c9e7783d859f603b32d53c36b33a7e5565552cdd451c575f6d150e2fedecd6e
BLAKE2b-256 checksum
How to use checksums
5d08efecc74adfa1cc120ce4000ae4c5dd9e0af5359925ccabe7fb3f20ec91ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for langchain-alephantai 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page