langchain-qwen3
This package contains the LangChain integration with Qwen3
Installation
pip install -U langchain-qwen3
Embeddings
Qwen3Embeddings class exposes embeddings from Qwen3.
from langchain_qwen3 import Qwen3Embeddings
embeddings = Qwen3Embeddings()
# Each query must come with a one-sentence instruction that describes the task
task = 'Given a web search query, retrieve relevant passages that answer the query'
query = embeddings.get_detailed_instruct(task, 'Explain gravity')
embeddings.embed_query(query)
Metadata
Release files for langchain-qwen3 0.1.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 | |
|---|---|---|---|
| langchain_qwen3-0.1.2.tar.gz | 280.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_qwen3-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 285.3 kB
Release files / langchain_qwen3-0.1.2.tar.gz
| Download URL | langchain_qwen3-0.1.2.tar.gz |
|---|---|
| Size | 280.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fad464051cc5f81e13e39652ecefcef15f3dce88ff593df43d8e653be547de4
|
|
BLAKE2b-256 checksum How to use checksums |
c0e115286495dda73f925ec273cf3e97d3e376f5f1ebb99167844033398562c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|
Release files / langchain_qwen3-0.1.2-py3-none-any.whl
| Download URL | langchain_qwen3-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b2aa05422254d99d0c5106ad0fbcefaf9d8dc369bb654b7e752c51c10aac191
|
|
BLAKE2b-256 checksum How to use checksums |
b2a88bef339d08bdeb09e5347440f4735b7c913cee18db10f50173aba63c1f4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|