Skip to main content

LangChain integration for Zeta MLX

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeta_mlx_langchain-0.3.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeta_mlx_langchain-0.3.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file zeta_mlx_langchain-0.3.2.tar.gz.

File metadata

  • Download URL: zeta_mlx_langchain-0.3.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for zeta_mlx_langchain-0.3.2.tar.gz
Algorithm Hash digest
SHA256 486f4cf558dd8d67cce3c2d6f18e60ad3eca28a551dc8d8a9b0f0ab8a92f9130
MD5 50666a957a01dd55711fccf45c6403a6
BLAKE2b-256 0b771ab9a794323c2734e060e0a635c2d08f5632350bcbcd54212a9ec6a9059a

See more details on using hashes here.

File details

Details for the file zeta_mlx_langchain-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: zeta_mlx_langchain-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for zeta_mlx_langchain-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 12d6377486f839de893abe2158dc2ca677ce4e070f46f1b7b0c732ad743bdb76
MD5 eaf4196410498b68a824290b568956f3
BLAKE2b-256 6deaeb558b47326204e2e06d58b0f46586fd6fd6d830da28b6da380b971f1434

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page