Skip to content

lopezleandro03/ai-assisted-groceries-cart

Repository files navigation

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"

About

Simple cross-platform app built with Dart and Flutter to demo how to integrate with Azure OpenAI APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published