Skip to main content

No project description provided

Project description

hashtagAI

hashtagAI is a command-line tool that generates terminal command responses using various providers' language models.

Installation

To install the package, run:

pip install hashtagAI

Usage

After installation, you can use the ask command to generate terminal command responses. The ask command takes a terminal command as input and provides a concise explanation and the exact terminal command to accomplish the task.

Example

ask How do I update all packages on Fedora?

Output

#AI Assistant:
Explanation:
To update all packages on your Fedora system, you can use the dnf package manager. The following command will check for updates and install them for all installed packages.

Command:
sudo dnf update

Configuration

Ensure you have set the required environment variables:

  • PROVIDER_API_KEY: Your Model API key.
  • BASE_URL: The base URL for the Providers API (optional, default: https://api.together.xyz/v1).
  • MODEL_ID: The ID of the Model to use (optional, default: google/gemma-2-9b-it).

Example

export PROVIDER_API_KEY='YOUR_API_KEY'
export BASE_URL='https://api.together.xyz/v1'
export MODEL_ID='meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo'

Development

To contribute to this project, follow these steps:

  1. Clone the repository.
  2. Install the dependencies:
pip install -r 

requirements.txt
  1. Make your changes and submit a pull request.

License

This project is licensed under the MIT License.

Author

Thanabordee N. (Noun)


Feel free to modify the content as needed.

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

hashtagai-0.2.1.7.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

hashtagAI-0.2.1.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file hashtagai-0.2.1.7.tar.gz.

File metadata

  • Download URL: hashtagai-0.2.1.7.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for hashtagai-0.2.1.7.tar.gz
Algorithm Hash digest
SHA256 c8a8fd098dca223f9ccfbc7676b234796d610b7ff59ebd3ff1dbb85dd97c999a
MD5 c5eab41440e5523b9cbe09c42eb89dab
BLAKE2b-256 dedbec5b6e2a7aa6d1ac79ca59d202778b0cdfa29857021d41308a7a55116143

See more details on using hashes here.

File details

Details for the file hashtagAI-0.2.1.7-py3-none-any.whl.

File metadata

  • Download URL: hashtagAI-0.2.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for hashtagAI-0.2.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5e1ae055cb0d739d1f293dd5b3189c26853590a2bd7532cb10221a4d5634f957
MD5 4a6a92cd094eb0e800529be17a49fe13
BLAKE2b-256 1de22afc5e06ea7dba91099d3062745b57e399c7225ed772c3bb4e8fe771ef1a

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