Collection of useful tools built on top of OpenAI's API
Project description
OAI Tools
This repository contains a collection of useful tools built on top of OpenAI's API. These tools can help automate various tasks and provide assistance through natural language processing.
Installation
pip install .
Tools
- cligpt: A command-line helper that takes a user prompt and returns shell commands, along with explanations of what they do. See cligpt.md for more details.
Configuration
Configuration file is read from ~/.config/oai_tools/config.yaml
file. See the config-example.yaml file for more details.
API Key
OpenAI's API key is required.
The key is read from the OPENAI_API_KEY
environment variable. If this variable is not set, the API key is read from the ~/.config/oai_tools/api_key
file.
Development
Pre-commit hooks
pip install pre-commit pylint mypy black isort pre-commit install pre-commit run --all-files
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
Built Distribution
Hashes for oai_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72aeaca5d307e3d38c268c51f8375ddf42d1456ba704fe451e74108812cf0c2 |
|
MD5 | ba2599435964d17da754324a7033d14c |
|
BLAKE2b-256 | 96bc45e1e7b7dbe718a60e811ea6eb8c8c234e083ce1dee75abdf2edaf34c703 |