Prerequisites
Before you begin, make sure you have:- Node.js 20+ installed on your system
- A package manager (npm, yarn, or pnpm)
- API keys for:
- GROQ API - For LLM chat capabilities
- Google Gemini - For voice and vision features
Quick Start
Configure Environment
Create your environment file and add your API keys:Edit
.env.local and add your keys:.env.local
Make sure your
.env.local file is saved with UTF-8 encoding to avoid validation errors.Open in Browser
Open http://localhost:3000 in your browser and start chatting!Try these example queries:
- “Muéstrame los equipos de aire acondicionado”
- “¿Cuáles son los mantenimientos pendientes?”
- “Listar repuestos con bajo inventario”
Get Your API Keys
GROQ API Key
Sign up for a free GROQ account and generate your API key for LLaMA model access
Google Gemini Key
Get your Google AI Studio API key for Gemini vision and voice capabilities
What’s Next?
Now that you have Gima running, explore its powerful features:Voice Commands
Create work orders using natural voice commands
Image Analysis
Analyze equipment parts with AI-powered computer vision
PDF Processing
Extract and analyze maintenance manuals
AI Tools
Generate checklists, summaries, and closeout notes
Common First-Time Issues
ZodError: expected string, received undefined
ZodError: expected string, received undefined
This usually means your
.env.local file is not being read correctly. Make sure:- The file is named
.env.local(not.env) - It’s in the root directory
- It’s saved with UTF-8 encoding (not UTF-16)
Invalid API Key errors
Invalid API Key errors
Verify your API keys:
- GROQ keys must start with
gsk_ - Google Gemini keys must start with
AIza - Keys should have no spaces or quotes around them
Port 3000 already in use
Port 3000 already in use
Either stop the process using port 3000 or use a different port:
Try Advanced Features
Need More Help?
Installation Guide
Detailed setup instructions and system requirements
Configuration
Complete environment variable reference