Skip to main content

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:

  1. Python 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

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

Release files for google-palm-cli 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-palm-cli 1.1
File Size Uploaded
google-palm-cli-1.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for google-palm-cli 1.1
File Interpreter ABI Platform
google_palm_cli-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / google-palm-cli-1.1.tar.gz

Download URL google-palm-cli-1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0bb05cd53037d212507541ee2a8eac0c72f8e5b04237c9f7b1908dee17c122a9
BLAKE2b-256 checksum
How to use checksums
72cd0897faa158d55e3eba0cb081594434ad0c168457be244fe6a829102b5711
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

Release files / google_palm_cli-1.1-py3-none-any.whl

Download URL google_palm_cli-1.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e40238939fcb0af1d8632b8ab478cad005a904599f0b84547e038ecd74c08d25
BLAKE2b-256 checksum
How to use checksums
2e96c736dc391c73a691fd221a17462c23e63315b182499de3a20db2daf43f08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page