Skip to main content

A useful 0-Shot AI in the terminal

Reason this release was yanked:

Broken Interactive mode

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.0.1.tar.gz (14.4 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.0.1-py2.py3-none-any.whl (12.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: protai-1.0.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for protai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 967cc52011fc74ba9643066cf6d7cf1c36cf6bab9d4770dacf68bd83a08737c4
MD5 53c2159b42752c7d2633ca20b9a1c165
BLAKE2b-256 4661ce83290679c1a6fbc9b51779d66cb17779bf56b1685626a5c8b65818e06f

See more details on using hashes here.

File details

Details for the file protai-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: protai-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for protai-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcce5aa0234134e292cd81770cc4cda7c2cc9ac4db2a8e578c5d834442d307ea
MD5 536396408c9d888a704a41ed442e40a2
BLAKE2b-256 a3b9b9d56f481e8830941f512400f507239420a2b5744e3fc1a2e0d476909272

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