An AutoHotKey script that enables you to use GPT3 and other LLM models in any input field on your computer.
- Install AutoHotKey
- Download the repository as a ZIP file and uncompress it in a folder of your choice
- Generate an OpenAI API key following this instruction
- Execute GPT3-AHK.ahk and input your API key in the input box that will appear
- In case you want to use a custom model compatible with OpenAI API (e.g. litellm), click Yes in the next box and add (if necessary) the API key in the following input box
- To complete a phrase, select it and press
Win+o
- To instruct GPT3 to modify a phrase, select it and press
Win+Shift+o
- To change the model, right click on the icon at the taskbar and use the option
Select LLM
to select the desired model - For custom models, change the
CUSTOM_MODEL_ENDPOINT
andCUSTOM_MODEL_ID
variables to respectively point out to your server IP and to your desired model name.