Skip to main content

freecomai-hybrid-rag

Hybrid retrieval-augmented generation — graph × vectorstore → enriched context.

PyPI version License: Apache 2.0 Python

Status

🚧 Placeholder release — v0.0.0. Full API lands in v0.1.0 (planned Q2-Q3 2026).

This package reserves the name freecomai-hybrid-rag on PyPI. Do not install for production yet.

What it will do

A domain-agnostic Python library that takes two inputs — a knowledge graph (NetworkX) and a vectorstore (ChromaDB / Qdrant / Pinecone / ...) — and returns enriched search results that combine:

  • Dense retrieval (semantic similarity top-K chunks)
  • Graph context (entities mentioned in those chunks + their 1-hop neighbors)
  • Cluster summary (dominant community the result falls into, with LLM-generated description)
  • Related bugs / decisions / events from the same cluster

One function call → not just "here are 5 similar chunks", but "here is the full contextual map around your query".

Why

Vector RAG alone misses structural relationships. GraphRAG (Microsoft pattern, 2024) adds Leiden clustering + community reports but loses fast semantic retrieval. HybridRAG (arXiv 2408.04948, NVIDIA + BlackRock, 2024) fuses both — proven superior on financial QA tasks.

This library makes that pattern plug-and-play for any domain: your graph, your vectorstore, our enrichment logic.

Planned API (v0.1.0)

from hybrid_rag import enriched_search, EnrichedResult

result: EnrichedResult = enriched_search(
    graph=my_networkx_graph,
    vectorstore=my_chroma_client,
    query="how did we decide on architecture X?",
    k=5,
)

print(result.dominant_cluster.summary)
for chunk in result.chunks:
    print(chunk.text, chunk.score)
for bug in result.related_bugs:
    print(bug.name, bug.status)

Roadmap

  • v0.0.0 (placeholder) — name reservation
  • v0.1.0 (Q2-Q3 2026) — core enriched_search() function
  • v0.2.0 — pluggable cluster summarizers (Claude / GPT / local LLMs)
  • v0.3.0 — optional reranker integration (bge-reranker-v2-m3, Cohere, Jina)
  • v1.0.0 — stable API + comprehensive docs

Author

Built by FreeComAI, Astana, Kazakhstan. Founder: Bolatbek Barmagambetov (barmagambetov.b@gmail.com).

License

Apache 2.0 — see LICENSE.

Metadata

Release files for freecomai-hybrid-rag 0.0.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 freecomai-hybrid-rag 0.0.0
File Size Uploaded Provenance
freecomai_hybrid_rag-0.0.0.tar.gz 7.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for freecomai-hybrid-rag 0.0.0
File Interpreter ABI Platform
freecomai_hybrid_rag-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / freecomai_hybrid_rag-0.0.0.tar.gz

Download URL freecomai_hybrid_rag-0.0.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78c684f24947e77aacfebc44a00393bae5d46d7383b278c469d61021546f4dde
BLAKE2b-256 checksum
How to use checksums
d985d60d44cd9af900cada10f895dba8776b571339ce5d43f3307b19a4a7c0b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / freecomai_hybrid_rag-0.0.0-py3-none-any.whl

Download URL freecomai_hybrid_rag-0.0.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcbddb3de49a6b028ed05168d4a00811da43c67b6552d03b7f91c5dcd677c950
BLAKE2b-256 checksum
How to use checksums
ce431fa856fa334b719cbe7a9b91b870a40902dbef99bac7076d0c3018d960f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for freecomai-hybrid-rag 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No provenance

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