This project is a starting point for a Flutter application enhanced with help of GitHub Copilot to create a AI assisted groceries cart which simulates the input from a barcode scanner as you walk-thru a store and scan products(or buy online). The app generates nutritional insights and recipes based on your cart's products with help of Azure OpenAI.
This represents a fictitious use case, the intent is to demonstrate the performance of GitHub Copilot developing Dart / Flutter cross-platform apps.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- An Azure Subscription with Azure OpenAI service deployed
To run the app pass along the URL to an Azure OpenAI instance as well as the key as environment variables.
flutter run --dart-define=AZ_OPENAI_URL="https://<MyAzOpenAI>.openai.azure.com/openai/deployments/<myModelDeployment>/completions?api-version=2022-12-01" --dart-define=AZ_OPENAI_KEY="MyKey"