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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72e14b40851d0085605ac51e5a7fe24a0d14a7c2cd9cb0167ac826d7c82e89c8
|
|
| MD5 |
1ff0043f1daa450bf420d37ebb8fb721
|
|
| BLAKE2b-256 |
02a21f81f0b1b3eb939689a597b6abc131cd599a5034a84a1d33da593ea94858
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e575479fdfa43873c8582ae476368c64722e2fee43a3792d0754261b3c1be1ee
|
|
| MD5 |
07c28ae187cc8df95a48561c5c4410e7
|
|
| BLAKE2b-256 |
857e37cb13228352a684f8c0b3c8a8406c0b4014507587cb831c3e9f325d0ab4
|