An integration package connecting Qwen3-embedding and LangChain
Project description
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)
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
langchain_qwen3-0.1.2.tar.gz
(280.5 kB
view details)
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.2.tar.gz.
File metadata
- Download URL: langchain_qwen3-0.1.2.tar.gz
- Upload date:
- Size: 280.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fad464051cc5f81e13e39652ecefcef15f3dce88ff593df43d8e653be547de4
|
|
| MD5 |
431f6a8227187ddab624ae0083e0318f
|
|
| BLAKE2b-256 |
c0e115286495dda73f925ec273cf3e97d3e376f5f1ebb99167844033398562c6
|
File details
Details for the file langchain_qwen3-0.1.2-py3-none-any.whl.
File metadata
- Download URL: langchain_qwen3-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b2aa05422254d99d0c5106ad0fbcefaf9d8dc369bb654b7e752c51c10aac191
|
|
| MD5 |
0cac1f9696b53ae9bf7bb00a73879c7b
|
|
| BLAKE2b-256 |
b2a88bef339d08bdeb09e5347440f4735b7c913cee18db10f50173aba63c1f4e
|