This project is an Agentic AI-powered Digital Twin of me, built using OpenAI-compatible Gemini API, Gradio, and Python.
It represents my professional background, skills, and experience β and can interact as if it were me, answering questions about my career, projects, and journey.
You can access the deployed version of this project here: AI Digital Twin
- AI Persona System: Uses a system prompt and personalized data to simulate my personality and experience.
- Tool-Enabled Reasoning: The model can:
- Record user interest via email (using
record_user_details) - Log unknown questions for later improvement (
record_unknown_question)
- Record user interest via email (using
- PDF + Text Context: Loads information from my resume and a summary text file.
- Gradio Chat UI: Simple and interactive web interface to chat with the AI.
- Secure Configuration: All API keys are stored in
.env(not pushed to GitHub).
- Python 3.10+
- Gradio β for the web chat interface
- OpenAI / Gemini API β for LLM responses
- pypdf β to extract data from my resume
- dotenv β to load API keys securely
- requests β for logging user events
project/ β βββ app.py # Main application file βββ requirements.txt # Python dependencies βββ .gitignore # Ignored files (includes .env and /me/) βββ README.md # Project documentation βββ me/ βββ summary.txt # Short professional summary βββ KritiResume.pdf # Resume used for AI context
Note: The
me/folder and.envfile are not uploaded to GitHub for privacy and security.
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>
2. Create and activate a virtual environment
python -m venv .venv
# On Windows PowerShell
.venv\Scripts\Activate.ps1
# On macOS/Linux
source .venv/bin/activate
3. Install dependencies
pip install -r requirements.txt
4. Add your .env file
Create a file named .env in the project root and add:
GOOGLE_API_KEY=your_google_api_key_here
PUSHOVER_TOKEN=your_pushover_token_here
PUSHOVER_USER=your_pushover_user_key_here
π§βπ» Author
Kriti Dogra
πΌ LinkedIn (www.linkedin.com/in/kriti-dogra18)
π§ Reach out for collaborations or AI projects!
β If you like this project, give it a star!