Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaki-1052 committed Mar 19, 2024
1 parent 36e2611 commit 1dc4a4e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Welcome to my **Chat-Bot Portal**, a full-featured *Node.js*-based web applicati
- `Cmd/Ctrl + Shift + C`: Copies the text of the latest chat message to the clipboard.
- `Cmd/Ctrl + Shift + ;`: Copies the content of the latest code block to the clipboard.
- `Cmd/Ctrl + Shift + F`: Opens the file input dialog to allow file selection.
- `Cmd/Cntrl + Shift + A`: Toggles the Assistants Mode.
- **Model Selector** of various *OpenAI APIs*. Includes:
- **GPT-4**: Default – Snapshot of the *Most Intelligent* Version
- **GPT-4-Vision**: Able to View & Analyze *Images*
Expand Down Expand Up @@ -224,6 +225,13 @@ https://github.com/Zaki-1052/GPTPortal/assets/134018102/de7cb401-54f3-4cdd-a041-
- It will be an *HTML* document formatted in *Markdown*.
- Type: "**Bye!**" in the text input box in order to *end the conversation* and *kill the server*.
- This will also *Export* the *Conversation History*.
- **Keyboard Shortcuts**:
- See the shortcuts listed above in *features*.
- They generally align with those of *ChatGPT*.
- Focus the text box with `Shift+Esc`.
- End & Export with `Control+Shift+X`.
- *Copying* is the same as CGPT (`C` & `;`).
- `Cmd+Shift` + `F` and `A` to *upload files* and *toggle Assistants* respectively.
- **Image Generation**: *IMPORTANT!*
- Specific *Syntax* is needed to activate *DALL·E 3*:
- Type: "**Generate:**" followed by your prompt.
Expand Down
6 changes: 6 additions & 0 deletions public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,12 @@ document.getElementById('model-claude-1.2').addEventListener('mouseover', (event
}
}

// CMD+SHIFT+A for toggling Assistant Mode
if ((event.metaKey || event.ctrlKey) && event.shiftKey && event.key === 'A') {
event.preventDefault();
document.getElementById('mode-selector').click(); // Programmatically click the mode-selector
}

});

function autoExpand(field) {
Expand Down

0 comments on commit 1dc4a4e

Please sign in to comment.