zeta-mlx-langchain
LangChain integration for Zeta MLX platform.
Installation
pip install zeta-mlx-langchain
Features
- ChatModel: LangChain BaseChatModel implementation
- Embeddings: LangChain Embeddings implementation
- Streaming: Async streaming support
Usage
from zeta_mlx.langchain import ChatZetaMLX
# Create chat model
llm = ChatZetaMLX(model="qwen3-8b")
# Use with LangChain
from langchain_core.messages import HumanMessage
response = llm.invoke([HumanMessage(content="Hello!")])
# Streaming
for chunk in llm.stream([HumanMessage(content="Tell me a story")]):
print(chunk.content, end="")
Links
Metadata
Release files for zeta-mlx-langchain 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zeta_mlx_langchain-0.3.2.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zeta_mlx_langchain-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / zeta_mlx_langchain-0.3.2.tar.gz
| Download URL | zeta_mlx_langchain-0.3.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
486f4cf558dd8d67cce3c2d6f18e60ad3eca28a551dc8d8a9b0f0ab8a92f9130
|
|
BLAKE2b-256 checksum How to use checksums |
0b771ab9a794323c2734e060e0a635c2d08f5632350bcbcd54212a9ec6a9059a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0
|
Release files / zeta_mlx_langchain-0.3.2-py3-none-any.whl
| Download URL | zeta_mlx_langchain-0.3.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12d6377486f839de893abe2158dc2ca677ce4e070f46f1b7b0c732ad743bdb76
|
|
BLAKE2b-256 checksum How to use checksums |
6deaeb558b47326204e2e06d58b0f46586fd6fd6d830da28b6da380b971f1434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0
|