This package contains implementation of the application enabling Google PaLM usage on command-line interface (CLI).
Project description
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.
Installation
pip install google-palm-cli
How to Use the Application?
Pre-requisites:
- Python installed on your device.
- .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.
You have to choices:
- Enter a non-empty prompt to receive a response from the AI.
- Enter an empty prompt to exit the application.
Below is an example of what happens when you entered a non-empty prompt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for google_palm_cli-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40238939fcb0af1d8632b8ab478cad005a904599f0b84547e038ecd74c08d25 |
|
MD5 | 4ef58a454dbf8aa21944dbedf3ec8dcc |
|
BLAKE2b-256 | 2e96c736dc391c73a691fd221a17462c23e63315b182499de3a20db2daf43f08 |