Sometimes, the best ideas come from a simple “what if?” That’s how HistorAI came to be — an answer to the question, “What if we could chat with historical figures or fictional characters?” It seemed like an exciting prospect, both from an educational and a creative perspective.
How It Works
HistorAI is a chatbot powered by OpenAI’s GPT model, designed to simulate text-based conversations with characters from history and fiction. Users input a name, and HistorAI generates a social media-style profile picture and adopts the personality of the selected character. It’s an experiment in interaction, a blend of history, fiction, and AI.
In the process of building HistorAI, I decided to instruct the AI model to exaggerate personality traits. This tactic ensured that the AI adhered closely to the character, creating a more immersive and engaging user experience. I also implemented a feature to generate a realistic image of the chosen character using OpenAI’s image generation API. It’s like having your very own historical figure or fictional character at your fingertips.
Looking Forward
HistorAI is more than just a hobby project — it’s a proof-of-concept of how AI can be leveraged to create immersive, educational experiences. I imagine a future where we could use HistorAI to facilitate “group chats” with multiple historical figures. The prospect of hosting a virtual debate between the likes of Gandhi and Stalin, or Sherlock Holmes discussing detective methods with Agatha Christie’s Hercule Poirot, is exhilarating.
The creation of HistorAI was a quick process — an evening’s work — but the potential it holds is enormous. As it stands, HistorAI is still a rough draft, a snapshot of the capabilities of AI. Looking back, it was also one of the earliest things I built that foreshadowed the vibe-coding research I’d later pursue in my PhD.