Back to Projects

Akuma Pedia - A Devil Fruit Encyclopedia Chatbot

An AI-powered Streamlit chatbot that answers questions about Devil Fruits from the One Piece universe using GPT-3.5.

PythonStreamlitOpenAI GPT-3.5dotenv

Project Overview

Akuma Pedia is an interactive chatbot built with Streamlit and OpenAI's GPT-3.5 that specializes in Devil Fruit knowledge from the One Piece universe. Users can ask questions about fruit types, abilities, users, and lore through a fully styled chat interface that remembers conversation history. The app leverages streaming responses for a real-time feel and ensures secure handling of API credentials via dotenv.

Key Features

  • Real-time AI chatbot with streaming responses
  • Conversation memory with persistent chat history
  • Specialized in Devil Fruit lore and One Piece facts
  • Secure API key handling with .env file
  • Minimal, responsive Streamlit interface using st.chat_message

Technical Challenges

  • Maintaining focused topic boundaries within the One Piece universe
  • Handling vague or ambiguous queries gracefully
  • Balancing real-time response speed and contextual depth
  • Preventing hallucinations with fictional content