An integration package connecting Qualcomm AI Inference Suite and LangChain
Project description
langchain-qualcomm-inference-suite
This package contains the LangChain integration with Qualcomm AI Inference Suite
Installation
pip install -U langchain-qualcomm-inference-suite
And you should configure credentials by setting the following environment variables:
-
You must set the environment variable
IMAGINE_API_KEYto your personal Imagine API key. -
You must set the environment variable
IMAGINE_API_ENDPOINTpointing to the endpoint you are using.
Chat Models
ChatQIS class exposes chat models from Qualcomm AI Inference Suite.
from langchain_qualcomm_inference_suite import ChatQIS
llm = ChatQIS()
llm.invoke("Sing a ballad of LangChain.")
Embeddings
QISEmbeddings class exposes embeddings from Qualcomm AI Inference Suite.
from langchain_qualcomm_inference_suite import QISEmbeddings
embeddings = QISEmbeddings()
embeddings.embed_query("What is the meaning of life?")
LLMs
QISLLM class exposes LLMs from Qualcomm AI Inference Suite.
from langchain_qualcomm_inference_suite import QISLLM
llm = QISLLM()
llm.invoke("The meaning of life is")
License
langchain-qualcomm-inference-suite is licensed under the BSD-3-clause License. See LICENSE for the full license text.
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_qualcomm_inference_suite-1.0.0.tar.gz.
File metadata
- Download URL: langchain_qualcomm_inference_suite-1.0.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
272f120bc07bdf8277bfd6d65d6cd984734edce26fe138679dc07779ed673e9b
|
|
| MD5 |
29451e250b5c58f96aa2d08513789be2
|
|
| BLAKE2b-256 |
070b06ea58c1a96aebd00b6212426e02fcd83c7ff56c3f9b31c9d222fc86f55d
|
File details
Details for the file langchain_qualcomm_inference_suite-1.0.0-py3-none-any.whl.
File metadata
- Download URL: langchain_qualcomm_inference_suite-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
064031a8f5cd4fcbfc667239ca66a5a8224b6f1dd825a1c85fb4a123a1e13382
|
|
| MD5 |
eb0cf82753342b36fb80915a23e43734
|
|
| BLAKE2b-256 |
b80590c75c0defa5b8cd78e8890f97dc4eb4be0291d269bd3a69c4aadf962671
|