Skip to content

v2.0.2 — PyPI Description Fix

Choose a tag to compare

@irfanalidv irfanalidv released this 03 Apr 06:02
· 10 commits to main since this release

ragfallback v2.0.2

What's Changed

  • PyPI package description updated — The long description on PyPI now accurately reflects what the library does: intelligent fallback mechanisms for RAG pipelines, including query variation, confidence scoring, cost tracking, and silent failure prevention.

No API changes. Safe to upgrade from v2.0.1.


Install

pip install ragfallback==2.0.2

Or with open-source extras (recommended):

pip install ragfallback[huggingface,sentence-transformers,faiss]==2.0.2

Quick Example

from ragfallback import AdaptiveRAGRetriever

retriever = AdaptiveRAGRetriever(
    vector_store=vector_store,
    llm=llm,
    embedding_model=embeddings,
    fallback_strategy="query_variations",
    max_attempts=3
)

result = retriever.query_with_fallback(question="What is the revenue?")
print(result.answer)       # The answer
print(result.confidence)   # 0.92
print(result.cost)         # $0.0000 (with open-source stack)

Full Changelog: https://github.com/irfanalidv/ragfallback/blob/main/CHANGELOG.md
PyPI: https://pypi.org/project/ragfallback/2.0.2/