Overview
Invenicum’s AI Assistant, named Veni, leverages Google Gemini to streamline inventory management through natural language conversations. The assistant can extract product metadata from URLs, auto-fill item details, and guide you through creating inventory items using simple chat commands.Smart Extraction
Extract product details from web URLs automatically
Conversational UI
Create items through natural language chat
Multi-language
Supports locale-based responses (en, es, etc.)
Persistent History
Chat history syncs across devices
How It Works
The AI Assistant integrates with your workflow in two primary ways:1. URL-Based Metadata Extraction
When adding a new item, paste a product URL (Amazon, eBay, manufacturer site) and Veni will automatically extract:- Product name
- Description
- Pricing information
- Technical specifications
- Images (where available)
Paste Product URL
In the item creation form, look for the “Extract from URL” option and paste the product link.
Select Fields to Extract
Choose which fields you want the AI to populate (name, description, custom fields).
Review & Confirm
Veni will populate the form with extracted data. Review for accuracy and make manual adjustments if needed.
The AI extraction works best with structured product pages from major retailers and manufacturers. Custom or poorly formatted pages may yield incomplete results.
2. Conversational Item Creation
Chat directly with Veni to create items, search your inventory, or get help navigating the system. Example Conversation:Technical Implementation
Veni is powered by two core services:ChatService
Manages conversation state and message history:- Persistent History: Messages are stored server-side and loaded via
/ai/chat/history(lib/data/services/veni_chatbot_service.dart:23) - Real-time Updates: Uses Flutter’s
ChangeNotifierto update UI instantly - Locale Support: Automatically sends user language preferences to Gemini
AIService
Handles URL metadata extraction:- Endpoint:
POST /ai/extract(lib/data/services/ai_service.dart:17) - Input: URL and list of fields to extract
- Output: Structured JSON matching your item schema
Use Cases
E-commerce Imports
Quickly catalog online purchases by pasting order confirmation links.
Equipment Onboarding
Add new office equipment by extracting specs from manufacturer sites.
Parts Inventory
Auto-populate technical specifications for electronic components.
Collection Management
Fast-track adding collectibles with details from auction sites.
Best Practices
For URL Extraction
- Use Direct Product Pages: Avoid category pages or search results
- Check Extracted Data: AI interpretation isn’t perfect—always review
- Supplement Custom Fields: Add domain-specific fields manually after extraction
For Chat Interactions
- Be Specific: “Add laptop” is vague; “Add Dell XPS 15 to Tech Equipment” works better
- One Action at a Time: Break complex workflows into individual requests
- Provide Context: Mention container names, quantities, or locations explicitly
Limitations
- Rate Limits: Heavy usage may hit Gemini API quotas
- Accuracy: Extraction quality depends on source page structure
- Language: Works best with English content; other languages may have reduced accuracy
- Privacy: URLs are sent to Google’s servers for processing
