Skip to content

A Flutter project that enables you to access the PaLM API from a Flutter application.

Notifications You must be signed in to change notification settings

darshmashru/ChatPaLM

Repository files navigation

ChatPaLM

A Flutter project that enables you to access the PaLM API from a Flutter application. In order to use ChatPaLM, you need to get an API Key from aistudio.google.com. Once you have the key, you can paste it in the profile section of the application and start writing prompts from within the application.

https://medium.com/google-cloud/introducing-chatpalm-b11ed75f083f

Demo

chatpalm_video.mov

Deployment

To run this project we have to first create a .env file in the root directory

  git clone https://github.com/darshmashru/ChatPaLM.git
  touch .env

Add Your Enviornment Variables

Parameter Type Description
PALM_API_KEY string Required. Your API key
FIREBASE_WEB string Required. Your Firebase Web API key
FIREBASE_IOS string Required. Your Firebase IOS API key
FIREBASE_ANDROID string Required. Your Firebase Android API key
FIREBASE_MACOS string Required. Your Firebase MACOS API key

Your final file would look like

PALM_API_KEY = YOUR_API_KEY
FIREBASE_WEB = YOUR_API_KEY
FIREBASE_ANDROID = YOUR_API_KEY
FIREBASE_IOS = YOUR_API_KEY
FIREBASE_MACOS = YOUR_API_KEY

Finally , To Run The Application

Flutter Run

Screenshots

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4

Authors