Skip to main content

llama-index-commoncompute

LlamaIndex integration for Common Compute.

pip install llama-index-commoncompute
from llama_index.core import Settings, VectorStoreIndex, SimpleDirectoryReader
from llama_index_commoncompute import CommonComputeLLM, CommonComputeEmbedding

Settings.llm = CommonComputeLLM(model="qwen-2.5-7b")
Settings.embed_model = CommonComputeEmbedding(model="bge-small")

docs = SimpleDirectoryReader("./docs").load_data()
index = VectorStoreIndex.from_documents(docs)
print(index.as_query_engine().query("What workloads does Common Compute support?"))

Set CC_API_KEY in your environment (or pass api_key=... to either class).

Metadata

Release files for llama-index-commoncompute 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-commoncompute 0.1.0
File Size Uploaded
llama_index_commoncompute-0.1.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-commoncompute 0.1.0
File Interpreter ABI Platform
llama_index_commoncompute-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / llama_index_commoncompute-0.1.0.tar.gz

Download URL llama_index_commoncompute-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
76410fb03651b29743509ba198fd1aa9f95e1fec505e0584e91482feaa0d3eaa
BLAKE2b-256 checksum
How to use checksums
d9a144239c918df1c6963e20af8db22679b4620df593a199a7c40e51e90f9cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / llama_index_commoncompute-0.1.0-py3-none-any.whl

Download URL llama_index_commoncompute-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0449081c78470dc309ae38ce2c64b85222b8a57389f7a4db4777527dabe07866
BLAKE2b-256 checksum
How to use checksums
659165c229320fe761dba682126588188e4b9a2c32981dc7fb953fca47bbf230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page