Back to work

Libya Knowledge Base

A Laravel and Vue knowledge base with a Python service that retrieves articles and answers questions about Libya using a local model.

Watch the demo

24-second silent demo. Article excerpt adapted from Wikipedia contributors. Libya · CC BY-SA 4.0

What the demo shows

  1. The assistant names Tripoli as Libya’s capital and lists the articles it retrieved.
  2. Opening Introduction shows the passage that supports the answer.
  3. Asked about a fictional railway station, the assistant says it has no information. The chat leaves out the Sources section for that reply.

How I built it

I used Laravel and Vue for the article editor, browsing, and chat. A separate Python service indexes the articles in ChromaDB, retrieves relevant passages, and passes them to a local model through Ollama. That split lets me work on retrieval and answer generation independently of the web interface.