APA formatting has humbled every student I’ve ever taught. Including me. Every semester, the same questions come up. Where does the page number go? Is it “and” or “&”? Do I need a title page for a discussion post?
Today I spent 3½ hours building a free APA 7 tutor I could ask directly. It searches a guide, gives the relevant passages to a small AI model running through Ollama, and shows the sources beneath the answer. Your questions stay on your laptop, and there’s no account, API key, or subscription required. The tutor also has a citation builder that uses plain Python to turn three author surnames, a year, and a page number into (Rivera et al., 2024, p. 18).
The interesting part was getting it wrong. One version skipped parts of multi-part questions. Another confidently told me a paraphrase needed a page number. When I checked what the model had actually received, the passage explaining that page numbers are optional for paraphrases was missing. I kept the same model and changed the search so each part of the question got its own lookup. On my retest, the model had the evidence it needed and answered correctly.
The big commercial tools still handle many APA questions better in my tests. That’s fine. The room for improvement is exactly what makes this a good practice project. I’m giving it to my AI 600 students during the week we teach retrieval-augmented generation (RAG), so they’ll have something they can run, inspect, and improve themselves.
I’d like them to start by comparing what the tutor retrieves when it searches a whole question with what it finds when it searches each part separately. Then I’d ask them to decide which tasks belong in Python and which benefit from a language model. Formatting a citation follows a defined pattern, while explaining how an instructor’s directions apply takes context. To see whether their changes helped, they can run the same questions before and after and track which evidence was found, which parts were answered, and which answers were correct.
The code is on GitHub.
Fellow educators and students, what’s the APA rule you still have to look up?
#APAStyle #AIinEducation #Python #RAG #LocalAI #Ollama #HigherEducation
