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.1.tar.gz
(3.8 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.1.tar.gz.
File metadata
- Download URL: langchain_qwen3-0.1.1.tar.gz
- Upload date:
- Size: 3.8 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 |
f156d9302fc59f0b4aa82f365293cdc6235fe1bbcf7ca351776d3ff6b9356274
|
|
| MD5 |
12ea55dc6219742c21f7bd41886bbc9d
|
|
| BLAKE2b-256 |
9ce52f6eb72396fc9301f0738489a6ad12d797d92a8062df0542d867b941819a
|
File details
Details for the file langchain_qwen3-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langchain_qwen3-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 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 |
23012742dba81e71f483c7e68c6b5845617cc59c4ac92e34aed64d2980263b97
|
|
| MD5 |
ee0c461b6ea173b6ddee018151d0ad3b
|
|
| BLAKE2b-256 |
16aa3ab42b06c436dcf5074bea205b080f5b104d57c93528c2d1dfad95882a0b
|