Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Jamie AI Assistant 🎀

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.

Python Groq RentCast

Features πŸš€

🎯 Core Functionality

  • 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

🏠 RentCast Integration

  • 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

🎭 Unique Personality

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

Quick Start 🏁

Prerequisites

Installation

  1. 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...

Modify these instructions to change personality traits

""" 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

About

RentCast API Project

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages