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.6.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.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hashtagai-0.2.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 5e58df3497e855c4f8920dacc40c8057b6f23f401cb2afc78cb0ff6f4f2e991c
MD5 70c5914cce55df0ae2a3891b97108e5e
BLAKE2b-256 293d7a69ba61f484c73ce21db64edb583a1127aafcffdb062202bfdb1d01ab4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hashtagAI-0.2.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3ee3ba135bfc62c761abd06baba30e237a3a435a81bb3bb33cd26eb7fe0a41
MD5 2b8aa7c2fe7e75f76a8393f295220dd8
BLAKE2b-256 d9596a640281042ceb653adfae16d37bfdb3951070eeb3bd494ef8fcee46219a

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