Skip to main content

LlamaIndex Postprocessor Integration: SiliconFLow Rerank

1. Product Introduction

SiliconCloud provides cost-effective GenAI services based on an excellent open-source foundation model. introduction: https://docs.siliconflow.cn/introduction

2. Product features

  • As a one-stop cloud service platform that integrates top large models, SiliconCloud is committed to providing developers with faster, cheaper, more comprehensive, and smoother model APIs.

    • SiliconCloud has been listed on Qwen2.5-72B, DeepSeek-V2.5, Qwen2, InternLM2.5-20B-Chat, BCE, BGE, SenseVoice-Small, Llama-3.1, FLUX.1, DeepSeek-Coder-V2, SD3 Medium, GLM-4-9B-Chat, A variety of open-source large language models, image generation models, code generation models, vector and reordering models, and multimodal large models, including InstantID.

    • Among them, Qwen 2.5 (7B), Llama 3.1 (8B) and other large model APIs are free to use, so that developers and product managers do not need to worry about the computing power costs caused by the R&D stage and large-scale promotion, and realize "token freedom".

  • Provide out-of-the-box large model inference acceleration services to bring a more efficient user experience to your GenAI applications.

3. Usage

import os
from llama_index.postprocessor.siliconflow_rerank import SiliconFlowRerank

reranker = SiliconFlowRerank(
    model="BAAI/bge-reranker-v2-m3",
    api_key=os.getenv("SILICONFLOW_API_KEY"),
    top_n=4,
)

nodes = [
    ...
]

response = reranker.postprocess_nodes(nodes=nodes, query_str="...")
print(response)

Metadata

Release files for llama-index-postprocessor-siliconflow-rerank 0.5.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-postprocessor-siliconflow-rerank 0.5.0
File Size Uploaded Provenance Actions
llama_index_postprocessor_siliconflow_rerank-0.5.0.tar.gz 5.3 kB Without provenance Details for llama_index_postprocessor_siliconflow_rerank-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-postprocessor-siliconflow-rerank 0.5.0
File Interpreter ABI Platform Actions
llama_index_postprocessor_siliconflow_rerank-0.5.0-py3-none-any.whl Python 3 none any Details for llama_index_postprocessor_siliconflow_rerank-0.5.0-py3-none-any.whl

Total release size: 10.4 kB

Release files / llama_index_postprocessor_siliconflow_rerank-0.5.0.tar.gz

Download URL llama_index_postprocessor_siliconflow_rerank-0.5.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3f1a149926fbac8ad4b8a4dce13fc7faaf91567e3b9391b320b1111367b1d809
BLAKE2b-256 checksum
How to use checksums
44fdb5b32603da48e6531d25d7920cf3ef730a4462f381cbd66bfef3d1cbb60d
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_postprocessor_siliconflow_rerank-0.5.0-py3-none-any.whl

Download URL llama_index_postprocessor_siliconflow_rerank-0.5.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2487bebed176067cd507429baf3de22d01b458265d310550f20ed2de9e68a01a
BLAKE2b-256 checksum
How to use checksums
d595a641ec99fca28a30b02f7a0ade0a5e2291fb636bf0d40903a22700e7ff84
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-postprocessor-siliconflow-rerank 0.5.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.

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