Home / Companies / Convex / Blog / Post Details
Content Deep Dive

Building A Second Brain: How I Created Mike AI Chat Bot with Convex

Blog post from Convex

Post Details
Company
Date Published
Author
Mike Cann
Word Count
1,090
Language
English
Hacker News Points
-
Summary

Mike Cann describes the creation of "Mikebot," an AI chatbot designed to emulate his knowledge and personality, using Convex and OpenAI's Assistant API. Drawing from over 600 blog posts accumulated over two decades, Mikebot leverages OpenAI's vector database to respond to queries about Cann's experiences and opinions, maintaining a casual and humorous tone. The project involves prompt engineering to refine responses and the use of a React UI for user interaction, with Convex facilitating real-time updates. Cann opted for the cost-effective gpt-4o-mini model for Mikebot and automated the process of uploading blog posts to the vector database to ensure accurate information retrieval. This project illustrates the integration of modern AI tools in personalizing data-driven applications, highlighting both the technical journey and the ongoing potential for improvements.