Skip to main content

A useful 0-Shot AI in the terminal

Project description

Terminal-AI

Python Language

PyPI - Version GitHub Maintenance Issues Open

Powershell Bash WinTerm

A zero-shot AI assistant in the terminal, backended by the GROQ AI, for blazing fast responses. The free API key from GROQ can be obtained here

Installation

To install protai, simply run the following command in your terminal:

pip install --upgrade protai

Usage

To use this application, simply run the following command in your terminal:

protai <query>

For example:

ProtAI Demo

[!Note] On first run you will be prompted to enter your free Groq AI API key. You can get one at the Groq AI website.

[!IMPORTANT] You need to have a valid Groq AI API key to use this application.

Development

The application is using the llama-3.1-8b-instant model for its instant inference, as that has the fastest response time. The interactive version is using the llama-3.3-70b-versatile for its 0-shot inference.

If you wish to develop for this application, you can clone the repository and install the dependencies using the scripts given:

git clone https://github.com/protik09/terminal-ai.git
cd terminal-ai
./activate_venv.sh

or

git clone https://github.com/protik09/terminal-ai.git
cd terminal-ai
.\activate_venv.ps1

To generate the wheel and upload to PyPI, we use the following command:

python setup.py upload

[!IMPORTANT] Only the current maintainer has access to the PyPI repository API key. If you wish to contribute, please fork the repository and submit a pull request.

Prerequisites

[!NOTE]

Program Flow Chart

Program Flow Chart

Contributing

Contributions are welcome! If you'd like to contribute to this application, please fork the repository and submit a pull request.

[!WARNING] WSL2 is not supported for development. Please use a native Linux or Windows environment. There are issues with keyring access in WSL2.

License

This application is licensed under the MIT License. See LICENSE for details.

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

protai-1.1.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

protai-1.1.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file protai-1.1.0.tar.gz.

File metadata

  • Download URL: protai-1.1.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for protai-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d882a00b4783a3ba6e469413d2da219179b57ce20393965ca9ea91e13c960131
MD5 243394d96568ba9a52062ba4e0450521
BLAKE2b-256 75be12c65bddaffc1f8b800b0a1aa6e8512a74329057e26a475a1f9f796daa02

See more details on using hashes here.

File details

Details for the file protai-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: protai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for protai-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9edd0745560a663fd329f37c781c6ee5d117a0165e055693a02cdb721b7baef4
MD5 7a1e2e24b40332d68eadf1a8505da572
BLAKE2b-256 8f704ed5c2afa0f8452cb5a7bc39d2a36d7438c9e691fbac039a9853325fda3d

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