/ListIt

Primary LanguageDart

List It

A simple app that uses LLMs to help you break down complex goals and tasks into smaller subtasks. This is a flutter port of the generative-ai example by Google.

Getting Started

Setup Firebase as per the directions below to. Once that's done, follow the instructions for setting up FlutterFire to complete the integration.

Firebase Setup

To set up Firebase:

  1. Create a Firebase project at https://console.firebase.google.com.

  2. Add a web app to your Firebase project and follow the on-screen instructions to add or install the Firebase SDK.

  3. Go to https://console.cloud.google.com and select your Firebase project. Then go to Security > Secret Manger using the left-side menu and make sure the Secret Manager API is enabled.

  4. If you don’t already have an API key for the PaLM API, follow these instructions to get one.

  5. Install the Call PaLM API Securely extension from the Firebase Extensions Marketplace. Follow the on-screen instructions to configure the extension.

    NOTE: Your project must be on the Blaze (pay as you go) plan to install the extension.

  6. Enable anonymous authentication for your Firebase project by returning to https://console.firebase.google.com and selecting Build in the left panel. Then go to Authentication > Sign-in method and make sure Anonymous is enabled.

  7. Return to https://console.cloud.google.com and select your Firebase project. Click More Products at the bottom of the left-side menu, then scroll down and click Cloud Functions. Select each function and then click Permissions at the top. Add allUsers to the Cloud Functions Invoker role.