Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.36 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.36 KB

AI Assisted Groceries Cart

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.

Getting started with Flutter:

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.

Pre-request

  • An Azure Subscription with Azure OpenAI service deployed

Launch the app

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"