Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 701 Bytes

README.md

File metadata and controls

36 lines (21 loc) · 701 Bytes

AI-terminal-assistant

Overview

This project leverages OpenAI API to create an AI terminal assistant. It processes user queries, refines them, and generates corresponding commands.

Setup

  1. Install dependencies:

    pip install openai
    
  2. Obtain your OpenAI API key and replace it in the code.

  3. Run the script:

    python3 main.py
    

Usage

  1. Input queries to receive enhanced commands.
  2. Review the suggested command and execute it by typing 'y' or skip by typing 'n'.
  3. Exit using 'quit' or 'exit'.

Contributing

Feel free to contribute through pull requests or by opening issues.

License

This project is licensed under the MIT License.