Skip to content

Kd1880/ai-digital-twin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kriti Dogra – AI Digital Twin πŸ€–

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.

Try the Project

You can access the deployed version of this project here: AI Digital Twin

πŸš€ Features

  • 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)
  • 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).

🧩 Tech Stack

  • 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 Structure

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 .env file are not uploaded to GitHub for privacy and security.


βš™οΈ Setup Instructions

1. Clone the repository

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages