Llamaindex Superlinked Retriever
A LlamaIndex retriever integration for Superlinked, mirroring the structure of official LlamaIndex retriever packages.
Superlinked is a Python framework that let's you build full stack scalable AI search and recommendation apps by creating metadata aware embeddings and getting better use of your vector dbs. Superlinked uses an approach of mixture of encoders, where specalised encoders are used for different data types leading to more accurate retrieval.
Installation
Option A (standalone dev):
python -m venv .venv && source .venv/bin/activate
pip install -U pip
pip install -e .
pip install pytest
Option B (monorepo): Add this directory under llama-index-integrations/retrievers and install with the monorepo tooling.
Note: Examples require Python 3.10–3.12 (Superlinked does not support Python 3.9).
References and resources
- Superlinked framework repository: superlinked/superlinked
- Steam Games example article: read the article
- Open in Colab: Steam Games example notebook
Usage
from llama_index.retrievers.superlinked import SuperlinkedRetriever
from llama_index.core import QueryBundle
retriever = SuperlinkedRetriever(
sl_client=app, # Superlinked App
sl_query=query_descriptor, # Superlinked QueryDescriptor
page_content_field="text",
query_text_param="query_text",
metadata_fields=None,
top_k=4,
)
nodes = retriever.retrieve("What is a landmark in Paris?")
Development
- Follows LlamaIndex contribution guidelines.
- Run tests:
pytest -q.
Testing without Superlinked
Tests use mocks for the superlinked imports so they can run without the dependency installed.
Example
An end-to-end example is provided in examples/steam_games_example.py.
Metadata
Release files for llama-index-retrievers-superlinked 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_retrievers_superlinked-0.2.0.tar.gz | 4.4 kB | Without provenance | Details for llama_index_retrievers_superlinked-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_retrievers_superlinked-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_retrievers_superlinked-0.2.0-py3-none-any.whl |
Total release size: 9.4 kB
Release files / llama_index_retrievers_superlinked-0.2.0.tar.gz
| Download URL | llama_index_retrievers_superlinked-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0498ccfb7c57718ef84cf4abda9b4294fe871196bd584fa1b9c73c283c3f9bb
|
|
BLAKE2b-256 checksum How to use checksums |
1a0a16f35187c725632edbdde0baf39bc86dc571593dba1f70b31318b397d793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_retrievers_superlinked-0.2.0-py3-none-any.whl
| Download URL | llama_index_retrievers_superlinked-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2ee796d30688a3c25be672f71a142eb3c0d01618f977373ff1e36debbef8ec8
|
|
BLAKE2b-256 checksum How to use checksums |
692213e5d6e622c1c51d7891f4ac07bd808d8472a60a9cf5b5121941a4f7eb64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-retrievers-superlinked 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.