Skip to main content

An integration package connecting Qwen3 and LangChain

Project description

langchain-qwen3

This package contains the LangChain integration with Qwen3

Installation

pip install -U langchain-qwen3

And you should configure credentials by setting the following environment variables:

  • TODO: fill this out

Chat Models

ChatQwen3 class exposes chat models from Qwen3.

from langchain_qwen3 import ChatQwen3

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

Embeddings

Qwen3Embeddings class exposes embeddings from Qwen3.

from langchain_qwen3 import Qwen3Embeddings

embeddings = Qwen3Embeddings()
embeddings.embed_query("What is the meaning of life?")

LLMs

Qwen3LLM class exposes LLMs from Qwen3.

from langchain_qwen3 import Qwen3LLM

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

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

langchain_qwen3-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

langchain_qwen3-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file langchain_qwen3-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_qwen3-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-63-generic

File hashes

Hashes for langchain_qwen3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72e14b40851d0085605ac51e5a7fe24a0d14a7c2cd9cb0167ac826d7c82e89c8
MD5 1ff0043f1daa450bf420d37ebb8fb721
BLAKE2b-256 02a21f81f0b1b3eb939689a597b6abc131cd599a5034a84a1d33da593ea94858

See more details on using hashes here.

File details

Details for the file langchain_qwen3-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: langchain_qwen3-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-63-generic

File hashes

Hashes for langchain_qwen3-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e575479fdfa43873c8582ae476368c64722e2fee43a3792d0754261b3c1be1ee
MD5 07c28ae187cc8df95a48561c5c4410e7
BLAKE2b-256 857e37cb13228352a684f8c0b3c8a8406c0b4014507587cb831c3e9f325d0ab4

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