Skip to main content

An integration package connecting Qwen3-embedding and LangChain

Project description

langchain-qwen3

PyPI - Version PyPI - Downloads

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


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)

Uploaded Source

Built Distribution

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

langchain_qwen3-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for langchain_qwen3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8fad464051cc5f81e13e39652ecefcef15f3dce88ff593df43d8e653be547de4
MD5 431f6a8227187ddab624ae0083e0318f
BLAKE2b-256 c0e115286495dda73f925ec273cf3e97d3e376f5f1ebb99167844033398562c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_qwen3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b2aa05422254d99d0c5106ad0fbcefaf9d8dc369bb654b7e752c51c10aac191
MD5 0cac1f9696b53ae9bf7bb00a73879c7b
BLAKE2b-256 b2a88bef339d08bdeb09e5347440f4735b7c913cee18db10f50173aba63c1f4e

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