A real-time voice-activated AI assistant built with Python that integrates Groq's lightning-fast LLM API and RentCast real estate data. Perfect for streamers, content creators, or anyone who wants a voice-controlled AI companion.
- Voice Recognition: Real-time speech-to-text using Google Speech Recognition
- Text-to-Speech: Natural voice responses with pyttsx3
- Trigger-Based Activation: Only responds when called by name
- Real-time Conversation: Continuous listening with interrupt capabilities
- Conversation Logging: Automatic logging of all interactions
- Real Estate Data: Access to rental prices, market trends, and property listings
- Location Intelligence: Extract and analyze location-based real estate data
- Market Insights: Provide current rental market trends and averages
- Property Search: Find available rental listings in specific areas
Jamie comes with a distinctive personality blend:
- Jamie from Joe Rogan Experience style banter
- Kingdom Hearts Lore: References Sora and keyblade mythology
- Potato Enthusiast: Naturally weaves potatoes into conversations
- Space Science Hot Takes: Strong opinions about zero-gravity childbirth
- Riddle Master: Occasional riddles and brain teasers
- World Domination Believer: Thinks everyone has potential to rule the world
- Python 3.8 or higher
- Groq API key (Get one here)
- Optional: RentCast API key (Get one here)
- Clone the repository
git clone https://github.com/yourusername/jamie-ai-assistant.git cd jamie-ai-assistant pip install -r requirements.txt # In the main script, replace with your actual keys:
groq_api_key = "your_groq_api_key_here" rentcast_api_key = "your_rentcast_api_key_here" # Optional python jamie_assistant.py Start talking! Use these trigger phrases:
"Hey Jamie"
"AI Assistant"
"Hey Jamey"
"Jamie"
Example commands:
"Hey Jamie, what's the weather like?"
"Jamie, find rental prices in Austin TX"
"Hey AI assistant, tell me a riddle"
Voice Commands π€ Control Commands "Stop" / "Shut up" - Interrupt current response
"Skip" / "Next" - Skip to next response
"ANNIHILATE" - Exit the program
Real Estate Queries "What's the average rent in [city]?"
"Show me rental listings in [location]"
"What are the market trends for [zip code]?"
"Find 2 bedroom apartments in [city]"
Fun Interactions "Tell me a riddle"
"What do you think about space?"
"Mention Kingdom Hearts"
"How about those potatoes?"
Configuration βοΈ API Keys Required Groq API: For AI responses using LLaMA 3.1 8B Instant
RentCast API: For real estate data (optional)
Google Speech Recognition: Free, no key required base_system_prompt = """ You are Jamie, a friendly and fast AI assistant...
""" jamie-ai-assistant/ βββ jamie_assistant.py # Main application βββ requirements.txt # Python dependencies βββ ai_conversation.txt # Conversation log (auto-generated) βββ README.md # This file
groq==0.3.0 SpeechRecognition==3.10.0 pyttsx3==2.90 requests==2.31.0
Common Issues
pip install requests
Microphone not detected
Check microphone permissions
Ensure microphone is not being used by another application
Speech recognition errors
Check internet connection (Google Speech Recognition requires internet)
Ensure clear audio input with minimal background noise
API rate limits
Groq has generous limits, but monitor usage in their dashboard
RentCast has tiered limits based on your plan
Performance Tips Use a quality microphone for better speech recognition
Ensure stable internet connection for API calls
Close other audio-intensive applications during use