You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,32 +25,26 @@ Almost anywhere in windows where you can enter text. Any text editor, search box
25
25
26
26
Download and extract the [latest release](https://github.com/ecornell/ai-tools-ahk/releases) .zip file. If you already have [AutoHotkey](https://www.autohotkey.com) installed then run `AI-Tools.ahk`, otherwise run the `.exe` version which lets you use the script without having AutoHotkey installed. The script doesn't install anything and it's also portable so it can be run from any location.
27
27
28
-
On first run, the script will create a`settings.ini` file in the same directory. This file contains the settings for the script. You can edit this file to change the hotkeys or to add your own prompts.
28
+
On first run, the script will copy the included `setting.ini.default` file to a new`settings.ini` file in the same directory. This file contains the settings for the script. You can edit this file to change the hotkeys or to add your own prompts.
29
29
30
30
It will also prompt you to enter your OpenAI API key. You can get a API key from [OpenAI](https://platform.openai.com/).
31
31
32
32
33
33
## Usage
34
34
35
-
`Ctrl+Shift+j` - Run the quick action 1 (Correct Spelling and Grammar) prompt on the selected text.
35
+
`Ctrl+Shift+j` - Run the "Fix Spelling" prompt and replaces the current line or paragraph of text with the corrected version.
36
36
37
-
`Ctrl+Shift+k` - Run the quick action 2 (Continuation) prompt on the selected text.
37
+
`Ctrl+Shift+k` - Run the "Continuation" prompt and append it to the text on the current line.
38
38
39
39
`Ctrl+Alt+Shift+k` - Open prompt menu to select the prompt to run on the selected text.
40
40
41
41
### How does it work?
42
42
43
-
## Supporting APIs
44
-
OpenAI - /v1/chat/completions (Default)
45
-
- /v1/completions
46
-
- /v1/edits
47
-
Azure - /openai/deployments/***/completions
48
-
49
43
50
44
51
45
## Options
52
46
53
-
*(Any time you make any changes to the `settings.ini`file you will need to select "Reload This Script" from the tray icon to update the script with the new settings)*
47
+
`settings.ini`contains the settings for the script. You can edit this file to change the hotkeys or to add your own prompts.
54
48
55
49
56
50
**Start with windows**
@@ -59,6 +53,18 @@ To have the script start when windows boots up, select "Start With Windows" from
59
53
60
54
61
55
56
+
## Supported APIs
57
+
OpenAI
58
+
59
+
/v1/chat/completions (Default)
60
+
/v1/completions
61
+
/v1/edits
62
+
63
+
Azure
64
+
65
+
/openai/deployments/***/completions
66
+
67
+
62
68
## Credits
63
69
64
-
Laszlo, Oldman and many others from the AHK community.
0 commit comments