semvec/pypi-packages huggingface dataset:
google-palm-cli 1.1
This package contains implementation of the application enabling Google PaLM usage on command-line interface (CLI).
License: MIT

# google-palm-cli

This application allows users to use Google PaLM on command-line interface (CLI).

# Source Code

The source code for the Google PaLM CLI application is available in
[Source Code](https://github.com/GlobalCreativeApkDev/google-palm-cli/blob/master/main.py).

# Installation

```
pip install google-palm-cli
```

# How to Use the Application?

Pre-requisites: 

1. [Python](https://www.python.org/downloads/) installed on your device.
2. .env file is in the same directory as <GOOGLE_PALM_CLI_DIRECTORY> and has the value of PALM_API_KEY.

First, open a Terminal or Command Prompt window and run the following command.

```
python3 <GOOGLE_PALM_CLI_DIRECTORY>/main.py
```

**Note:** Replace <GOOGLE_PALM_CLI_DIRECTORY> with the path to the directory of the application google-palm-cli.

Then, the application will start with something looking like in the screenshot below.

![Application](images/Application.png)

You have to choices:

1. Enter a non-empty prompt to receive a response from the AI.
2. Enter an empty prompt to exit the application.

Below is an example of what happens when you entered a non-empty prompt.

![AI](images/AI.png)