AI Buddy is a tool that allows you to generate responses to your queries using the OpenAI Chat GPT-3 model. Simply press the ctrl+alt+a
hotkey, paste your query in the pop-up window, and press the "Submit" button to generate a response. The response will be copied to your clipboard and a notification will be displayed.
- Python 3.7 or later
openai
andpyperclip
python packagesplyer
package for notifications (optional)
- Install the required packages:
pip install openai pyperclip plyer
- Set your OpenAI API key:
openai.api_key = "YOUR_API_KEY"
- Run the script:
python ai_buddy.py
Press the ctrl+alt+a
hotkey to open the pop-up window. Paste your query in the text box and press the "Submit" button. The response will be copied to your clipboard and a notification will be displayed.
- The pop-up window can be resized and moved like any other window.
- The response may be truncated in the notification if it exceeds 256 characters.