Step 1: Clone this repository
Step 2: Click three dot in left sidebar -> App (Marketplace) -> Private Apps -> Upload a private app -> Choose file gpt_1.0.0.zip
(in dist
folder) -> Install
Step 3: Click tab setting, fill API Key
(get from OpenAI) and choose GPT MODEL
-> Save
Step 4: Go to channel, type /gpt <prompt>
- Copy this folder to your Rocket.Chat App folder (in root folder of Rocket.Chat)
- Check
Rocket.Chat Apps-Engine CLI
installed
rc-apps -v
If you don't have Rocket.Chat Apps-Engine CLI
, install it
npm install -g @rocket.chat/apps-cli
Error: While attempting to execute the preceding command, if your operating system rejects the operation, it is likely that you do not have permission to access the file as the current user. If you suspect a permissions issue, please double-check your NPM installation, or rerun the command as root/Administrator.
Resolution: Prefix the command with sudo and execute as follows:
sudo npm install -g @rocket.chat/apps-cli
Next, install the Apps-Engine framework/library which allows applications to recognize Apps-Engine. To do this, open the terminal in Visual Studio and execute the following command:
npm install
Refer docs: Create an App
You are now all set to develop your app. You can develop gpt-bot
and run rc-apps package
to package the app for distribution, and re-install or override package it in Private Apps.
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Please ⭐️ this repository if this project helped you!