Introducing ChatPaLM!🚀🚀

By Darsh Mashru and Prabir Kalwani

Darsh Mashru
Google Cloud - Community
3 min readOct 26, 2023

--

A Flutter-based cross-platform mobile application with Firebase Authentication and Text Generation by the PaLM LLM.

Introduction

Today, we (Darsh Mashru and Prabir Kalwani) proudly announce the release of ChatPaLM v0.1.0beta. As the AI landscape evolves, Google’s PaLM text generation model has emerged as a groundbreaking addition.

As engineers (to be very soon) and tech enthusiasts, we were fascinated by Google’s announcement to introduce PaLM API and MakerSuite for developers. This increased our anticipation for the launch of the PaLM API. We found it intriguing to compare the capabilities of the PaLM model with those of its competitors (like GPT) and were eager to gain hands-on experience with it.

We liked using Bard a lot and wanted to use it on our mobile phones and that’s when we realised that we needed an application in order to use Bard’s capabilities. Since Bard is powered by PaLM 2, we thought we could leverage its power into creating a new app of our own. That’s when the idea of ChatPaLM was born.

Introducing ChatPaLM:

ChatPaLM is a Flutter-based cross-platform mobile application with Firebase Authentication and Text Generation powered by the PaLM LLM. We built this application because we wanted the procedure of “Asking AI anything” to be as smooth as possible.

Our application works by allowing users to input data, which is then sent to the PaLM LLM through the PaLM API. The API access is provided through Google’s MakerSuite. Independent developers can also register and obtain their own API Keys to use with our application and other projects. Once the data is processed, the application generates an output.

In our current release, we have hardcoded the safety settings to the default setting of MakerSuite. However, we plan to provide an option to change these settings in future releases.

Now we are excited to share our application in action! Let’s use an example.

Example: Many people don’t know what PaLM is. Let’s ask ChatPaLM!

ChatPaLM in Action!

Output (as generated by ChatPaLM):

PaLM API stands for Pathways Language Model API. It is a large language model from Google AI that can understand and generate human language. The model was trained on a massive dataset of text and code, and it can be used for a variety of tasks, such as question answering, text summarization, and code generation…

Future Scope:

Future<void> _whatsInStore {
await _runUpdates(
context,
() async {
For Android: Our strategy entails the integration of a bubble widget overlay,
akin to Messenger heads, to facilitate seamless ChatPaLM access within other
applications.

For iOS: The iOS platform presents a unique challenge, as it does not inherently
support display overlays on other applications. We are currently in the
ideation phase to address this limitation.

For Both Platforms: A common enhancement on both Android and iOS involves
the implementation of a copy button, streamlining the process for users to
easily copy the generated output.

);
},
);
}

More about ChatPaLM:

You can easily access this application from our GitHub repository as it is an open-source software. Best of all, it is available completely free of cost.

You may download the application for your platform under the releases section of our Repo.

We sincerely appreciate your time in reading our article, and we warmly welcome any and all suggestions you may have to offer.

Link to the ChatPaLM Repo:

Link to the ChatPaLM Release:

Special thanks to Romin Irani for all the support and guidance!

--

--

Darsh Mashru
Google Cloud - Community

A computer geek pursuing Bachelor of Technology in Computer Engineering at NMIMS, Mumbai.