Search Search Any Topic from Any Website Search
AI Chatbot Pipeline Documentation Pipeline Overview User Query ↓ Encoder (Transformer) ↓ Vector Search ↓ FAQ priority match? ↓ Website content match? ↓ Answer synthesis (RAG) This is a retrieval-first, safe, and efficient pipeline (no hallucination). Tech Stack FastAPI – API Sentence-Transformer – encoder FAISS – vector search Any LLM – for final answer synthesis (optional) FAQs stored separately from website content Project Structure app/ ├── main.py ├── embeddings.py ├── vector_store.py ├── rag.py ├── data/ │ ├── faqs.json │ ├── website_chunks.json Load Encoder (Transformer) # embeddings.py from sentence_transformers import SentenceTransformer model = SentenceTransformer("all-MiniLM-L6-v2") def encode(text: str): return...