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.
Setup Firebase as per the directions below to. Once that's done, follow the instructions for setting up FlutterFire to complete the integration.
To set up Firebase:
-
Create a Firebase project at https://console.firebase.google.com.
-
Add a web app to your Firebase project and follow the on-screen instructions to add or install the Firebase SDK.
-
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.
-
If you don’t already have an API key for the PaLM API, follow these instructions to get one.
-
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.
-
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.
-
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.