This is a smart chatbot that reads your documents and answers questions about them. It's like having a personal assistant who has read everything you've written!
Imagine you have hundreds of pages of documents - resumes, LinkedIn profiles, papers, company info. Instead of searching through them manually, you can just ask questions like:
- "What projects did I work on?"
- "What are my skills?"
- "Tell me about my experience"
The AI reads all your documents and gives you answers! β¨
Don't worry - we'll explain everything step by step!
- Mac, Windows, or Linux - any computer works!
- Python is a programming language
- Download it here: python.org
- Choose version 3.8 or newer
- Go to: openai.com
- Sign up for a free account
- You'll need to add a payment method (costs about $0.01 per chat!)
Option A - Easy Way (Download ZIP):
- Click the green "Code" button at the top of this page
- Click "Download ZIP"
- Unzip the file on your computer
Option B - Using Git (if you know how):
git clone https://github.com/pppop00/personalAI.git
cd personalAIOn Mac:
- Press
Command + Space - Type "Terminal"
- Press Enter
On Windows:
- Press
Windows key - Type "cmd" or "Command Prompt"
- Press Enter
On Linux:
- Press
Ctrl + Alt + T
In the Terminal/Command Prompt, type:
On Mac/Linux:
cd Desktop
cd "Personal AI"On Windows:
cd Desktop
cd "Personal AI"π‘ Tip: The folder might be in "Downloads" instead if you downloaded the ZIP file!
Copy and paste this command, then press Enter:
pip install -r requirements.txtβ° This might take 2-5 minutes. Don't close the window! You'll see lots of text - that's normal.
- Go to: platform.openai.com/api-keys
- Click "Create new secret key"
- Give it a name like "Personal AI"
- Copy the key (it looks like:
sk-abc123xyz...) β οΈ Save it somewhere safe! You can only see it once!
-
In the project folder, create a new file called
.env- On Mac: Right-click β New File β name it
.env - On Windows: New β Text Document β name it
.env(remove the .txt)
- On Mac: Right-click β New File β name it
-
Open the
.envfile with any text editor (Notepad, TextEdit, etc.) -
Type this (replace
your-key-herewith your actual key):OPENAI_API_KEY=sk-abc123xyz...your-actual-key-here -
Save and close the file
-
In the project folder, you should see a folder called
oliver-knowledge-base -
Inside it, create folders for different types of documents:
Linkedin- put LinkedIn profile info hereResumeLetter- put resumes and cover lettersGit- put GitHub project infoPaper- put research papersCompany- put company information- Any other folders you want!
-
Save your documents as
.mdfiles (Markdown format)- You can convert Word docs to .md using online converters
- Or just create .md files in any text editor
π Example: Save a file as my-resume.md
In Terminal/Command Prompt, type:
python app.pyβ Success! You'll see:
- Text appearing in the terminal
- A web browser will open automatically
- You'll see a chat interface
- The app will open in your web browser
- You'll see a chat box
- Type any question about your documents
- Press Enter and wait for the AI to respond!
Example Questions:
- "What jobs have I worked at?"
- "What are my technical skills?"
- "Summarize my education background"
- "What projects did I work on at [company name]?"
This uses OpenAI's GPT-4o-mini model, which is very cheap:
- About $0.01 for 100 questions
- A full month of heavy use might cost $1-3
You can check your usage at: platform.openai.com/usage
You can use local models (runs on your computer, no cost):
- Install Ollama: ollama.com
- In Terminal, type:
ollama pull llama3.2 - In
app.py, find this line:llm = ChatOpenAI(temperature=0.7, model_name=MODEL)
- Comment it out and uncomment the next line:
# llm = ChatOpenAI(temperature=0.7, model_name=MODEL) llm = ChatOpenAI(temperature=0.7, model_name='llama3.2', base_url='http://localhost:11434/v1', api_key='ollama')
Now it's completely free! π
Solution: Install Python first from python.org
Solution: Run pip install -r requirements.txt again
Solution:
- Make sure your
.envfile is in the right folder - Make sure it's named
.env(not.env.txt) - Check that your API key is correct
Solution:
- Add
.mdfiles to youroliver-knowledge-basefolder - Make sure they're in subfolders
Solution:
- Look for a link in the terminal like
http://127.0.0.1:7860 - Copy and paste it into your web browser
Personal AI/
βββ app.py # Main program (don't change this!)
βββ requirements.txt # List of tools needed
βββ .env # Your secret API key (create this!)
βββ oliver-knowledge-base/ # Put your documents here!
β βββ Linkedin/ # LinkedIn profiles (.md files)
β βββ ResumeLetter/ # Resumes and letters (.md files)
β βββ Git/ # GitHub project info (.md files)
β βββ ... # Add more folders as needed!
βββ vector_db/ # Created automatically (don't touch!)
- π Reading: The app reads all your
.mddocuments - π§© Chunking: Breaks them into small pieces
- π’ Embedding: Converts text into numbers the AI understands
- πΎ Storing: Saves everything in a database
- β Questioning: When you ask a question, it finds relevant pieces
- π€ Answering: Sends those pieces to OpenAI to generate an answer
- β Your documents are stored only on your computer
- β Only the relevant parts are sent to OpenAI when you ask questions
- β OpenAI doesn't train on your data (when using API)
β οΈ Don't share your.envfile - it has your secret key!
- Create an Issue: Click the "Issues" tab above and describe your problem
- Check Documentation: See
SETUP_LOCAL_LLM.mdfor advanced options - OpenAI Help: help.openai.com
This project is open source and free to use!
Give it a star β on GitHub to help others find it!
Made with β€οΈ by Oliver
Last updated: October 17, 2025