Skip to content

Latest commit

Β 

History

History
51 lines (29 loc) Β· 1.62 KB

File metadata and controls

51 lines (29 loc) Β· 1.62 KB

Dopomoha Q&A System

Dopomoha Q&A System β€” a full-stack pipeline for building, querying, and interacting with question & Answer corpora. The system is designed to support automated corpus generation, hybrid retrieval with reranking, and multiple user interfaces including a Smart FAQ and Chat UI.


πŸ“ Documentation Overview

This monorepo includes documentation for three key components:

Automates the creation of a Q&A corpus from web content using the Google Gemini model.

  • Stage 1: Scrape pages using URL lists and HTML boundaries.
  • Stage 2: Generate relevant questions based on the scraped content.
  • Stage 3: Use Gemini to generate answers to those questions.

πŸ“– Read more β†’


2. πŸ” Retrieval Pipeline

Retrieves the most relevant Q&A pairs using a hybrid search engine:

  • Combines dense, sparse, and ColBERT representations.
  • Reranks results using a cross-encoder.
  • Supports both FastAPI web server and CLI mode.

πŸ“– Read more β†’


3. πŸ–₯️ Frontend Interface

Two user-friendly ways to interact with the system:

  • Smart FAQ: Query multiple answers with review flow.
  • Chat Interface: Conversational mode with top-1 answer responses.

πŸ“– Read more β†’


Quick Start with Docker Compose

You can run the entire system using Docker Compose from the project root (where docker-compose.yml is located):

docker-compose up --build