Analytics Dashboard

๐Ÿงช
โ†‘ 12%
0
Total Test Runs
โœ…
โ†‘ 5%
0%
Average Pass Rate
โšก
0s
Avg Response Time
๐ŸŽฏ
0
Average Score
๐Ÿš€
Quick Test
๐Ÿ”ฌ
Full Test Suite
๐Ÿ“Š
View Results
๐Ÿ“š
API Docs
๐Ÿ“ˆ Test Performance
๐Ÿ“‹ Recent Test Runs
View All โ†’

Loading...

Food Analysis Testing

Single Test
Batch Test
Model Comparison
Full Regression
๐Ÿ”ฌ Consistency
๐Ÿ–ผ๏ธ Select Image
โš™๏ธ Test Configuration

Test Results

๐Ÿ“Š All Test Runs
Test Name Status Tests Pass Rate Avg Score Duration Date Actions

System Prompts

๐Ÿ’ฌ Configured Prompts
๐Ÿ’ฌ

System prompts are configured in code

User Profiles

๐Ÿ‘ค Test Profiles

AI Model Configuration

๐Ÿค– Current Pipeline Configuration

Single comprehensive AI call handles: image validation + food detection + portion estimation + nutrition + recommendations.

โœ“ Cost-efficient: One API call instead of multiple.

ACTIVE google/gemini-2.5-flash
Default model for comprehensive food analysis. Fast, accurate, and cost-effective.

Alternative Models (can be configured)

AVAILABLE google/gemini-2.5-pro
Higher accuracy, slightly slower and more expensive.
AVAILABLE openai/gpt-4o
OpenAI's latest vision model. Excellent quality but higher cost.
AVAILABLE anthropic/claude-3.5-sonnet
Claude's vision model. Good for detailed analysis.
๐Ÿ”Œ Core Analysis Endpoints
POST /api/v1/meal-complete
Complete meal analysis: image โ†’ nutrition โ†’ GlucIQ โ†’ insulin. Single AI call.
GET /api/v1/result/{processingId}
Get analysis result by processing ID.
PATCH /api/v1/analysis/{processingId}/recalculate
Adjust food weights and recalculate nutrition/GlucIQ/insulin without AI.
๐Ÿ’‰ Insulin Calculation
POST /api/v1/insulin/standalone
Standalone insulin calculation for mobile app ad-hoc use. No image required.
POST /api/v1/calculate-insulin
Legacy insulin calculation endpoint.
๐Ÿ“Š GlucIQ & Scoring
POST /api/v1/gluciq-score
Calculate GlucIQ score for given nutrition data.
GET /api/v1/history/{userId}
Get analysis history for a user.
GET /health
Health check endpoint.