Magic commands are special commands that are inspired by discord bots. They are used to perform various actions during the chat session. Magic commands are prefixed with a / character. Here is a list of available magic commands:

  • /reset 🔄: This command resets the chat session. It clears the chat memory and starts a new session.

  • /exit đŸšĒ: This command is used to exit the chat session.

  • /history 📜: This command prints the chat history. It displays all the messages exchanged during the chat session.

  • /save 💾: This command saves the chat history to a file. The file is named as chat_history_{timestamp}.txt, where {timestamp} is the current date and time.

  • /copy 📋: This command copies the last response from NeoGPT to the clipboard.

  • /undo ↩ī¸: This command removes the last response from the chat history.

  • /redo 🔁: This command resends the last human input to the model.

  • /load 🍞: This command loads the saved chat history from a specific file.

  • /tokens {prompt} 🎟ī¸: This command displays number of tokens for a given prompt

  • /export 📤: This command exports a current used settings by NeoGPT.

  • /conversations đŸ—Ŗī¸: This command displays the list of available conversations.

  • /source 📄: Displays the path to the source directory.

  • /help ❓: This command displays a help message with the list of available commands.

If a command is not recognized, an error message is displayed đŸšĢ.

To use a magic command, simply type the command in the chat session and press enter ⌨ī¸.