Skip to main content

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:

  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-palm-cli-1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_palm_cli-1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file google-palm-cli-1.1.tar.gz.

File metadata

  • Download URL: google-palm-cli-1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for google-palm-cli-1.1.tar.gz
Algorithm Hash digest
SHA256 0bb05cd53037d212507541ee2a8eac0c72f8e5b04237c9f7b1908dee17c122a9
MD5 319ffc898a72839a3c84a839c79e0875
BLAKE2b-256 72cd0897faa158d55e3eba0cb081594434ad0c168457be244fe6a829102b5711

See more details on using hashes here.

File details

Details for the file google_palm_cli-1.1-py3-none-any.whl.

File metadata

  • Download URL: google_palm_cli-1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for google_palm_cli-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e40238939fcb0af1d8632b8ab478cad005a904599f0b84547e038ecd74c08d25
MD5 4ef58a454dbf8aa21944dbedf3ec8dcc
BLAKE2b-256 2e96c736dc391c73a691fd221a17462c23e63315b182499de3a20db2daf43f08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page