Analyzing The Iliad using AI & RAG

David Janes
1 min readJan 29, 2024
8-bit trojan horse

As a spare time project, I’ve written a quite comprehensive document analysis tool called Onadoc.ai. Although it uses Langchain, it implements custom components for document chunking, analysis, and so forth.

I’ve used it quite extensively over the last 6 months for use with science-related textbooks, but for a change I’m going to try on a “softer” topic. I’ve previously written about The Iliad, but that project went astray so let’s see if AI can do the job.

I’m using the Project Gutenberg version of the Iliad, which you can get for yourself here in a several formats — Onadoc is using the EPUB3 version, as it can use the Chapter structure.

I’ll be using some of the pre-canned queries (e.g. “Summarize” and “Generate Question”) and I’ll try with several different AIs (GPT 3.5, GPT 4, Mistral and Ollama) just so we can see how the results differ.

Onadoc App Home Screen

--

--