InsureSearch β Hybrid Insurance Search Engine
InsureSearch is the retrieval layer of INSUREOS. It combines vector search, BM25 keyword search, reranking, and FastAPI serving for insurance knowledge retrieval and RAG pipelines.
What it does
- Indexes insurance documents and chunks.
- Supports semantic, keyword, and hybrid retrieval.
- Reranks results for better relevance.
- Powers retrieval for insurance assistants and internal search workflows.
Main Components
embedder.pyβ embeddings for semantic search.bm25.pyβ keyword retrieval.vector_store.pyβ vector storage and retrieval.reranker.pyβ reranking stage.hybrid_engine.pyβ fuses vector and keyword results.indexer.pyβ builds the search index.api.pyβ FastAPI endpoints.
Code and Learning Guide
- Search code: piyushptiwari/insureos-models/tree/main/search
- Full code repo: piyushptiwari/insureos-models
- Learning guide: LEARN.md
Relationship to the models
InsureSearch is typically used together with:
- InsureLLM-4B for retrieval-augmented generation.
- InsureDocClassifier for document routing.
- InsureNER for structured extraction before indexing.
Why this repo exists separately on Hugging Face
Users often expect a model card link when a model mentions a companion search engine. Publishing this folder as its own HF repo makes that link explicit and avoids broken references.