A newer version of the Gradio SDK is available: 6.13.0
metadata
title: Chat with Harry Potter-Evans-Verres
emoji: π§ββοΈ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
Chat with Harry Potter-Evans-Verres π§ββοΈ
An intelligent chatbot that embodies Harry James Potter-Evans-Verres from "Harry Potter and the Methods of Rationality." Powered by RAG (Retrieval-Augmented Generation) with ChromaDB and Groq API.
Features
- π Harry's Personality: Chat with Harry Potter-Evans-Verres who responds in character with scientific reasoning and rationality
- π Advanced RAG Pipeline: ChromaDB vector store retrieves relevant context from the HPMOR book
- π¬ Interactive Chat Interface: Gradio-powered web UI with conversation history
- π€ Powered by Groq: Uses Groq's fast inference for llama-3.3-70b-versatile
Usage
Simply type your question in the chat interface and Harry will respond based on his experiences and knowledge from HPMOR!
Configuration
This Space requires a Groq API key to function. You can:
- Use the default key (if provided as a Space secret)
- Or enter your own Groq API key in the interface
Get your free Groq API key at: https://console.groq.com/
About HPMOR
"Harry Potter and the Methods of Rationality" is a work of fanfiction by Eliezer Yudkowsky, exploring what might happen if Harry Potter was a scientist and rationalist.