VR
All projects

Personal project · Case study

AI Wiki Quiz Generator

Paste a Wikipedia link, get a quiz.

An AI-powered tool that generates multiple-choice questions from any Wikipedia article using Google Gemini and LangChain, then stores every quiz so it can be revisited.

Role
Personal project (backend, AI pipeline, frontend)
Stack
  • FastAPI
  • React
  • PostgreSQL
  • LangChain
  • Google Gemini
  • BeautifulSoup
  • SQLAlchemy
  • Tailwind CSS

Hosted on a free tier, so the first load can take a moment to wake up.

01 · Context

The problem

Turning an article into a good set of quiz questions by hand is slow, and a raw LLM call alone does not give you clean source text or a place to keep the results.

02 · Solution

The approach

A three-step pipeline: scrape and clean the article text, have Gemini (orchestrated with LangChain) write the questions, then persist the quiz so the history and individual quizzes can be reopened later.

03 · Architecture

How the pieces fit together

AI Wiki Quiz Generator · architecture

  1. Interface

    • React UI · quiz · history · dark mode
  2. Logic

    • FastAPI · generate · history · quiz by id
    • Scraper · BeautifulSoup
  3. Data

    • PostgreSQL · quizzes · history
  4. Services

    • LangChain → Gemini · question generation

Data flow

  • React UI → FastAPI (URL)
  • FastAPI → Scraper (fetch)
  • FastAPI → LangChain → Gemini (prompt)
  • FastAPI → PostgreSQL (save)

04 · What I built

Key features

07 · Contact

Get in touch.

I'm looking for full-time Full Stack roles. Email is the quickest way to reach me.

vishnurdas27@gmail.com

Email me Résumé