Skip to main content

ChatGPT

This guide contains information to set up a ChatGPT Source in Vanus Connect.

Introduction

ChatGPT is a large language model developed by OpenAI, based on the GPT-3.5 architecture.

ChatGPT Source is a Vanus-hosted ChatGPT service which works as an HTTP server to generate human-like responses to textual content from incoming HTTP requests, and deliver responses to endpoints in the CloudEvents HTTP format.

Prerequisites

Before obtaining ChatGPT events, you must have:

Getting Started

Create a Connection

  • Write a Name① for your connection in Vanus Connect.

chatgpt_source_1.webp

How to setup ChatGPT in Feishu

  1. Click on the copy① icon to copy the Webhook URL.

chatgpt_source_3.webp

  1. Go to Feishu and search for Feishu Flow② ③ or 飞书捷径 and click on it.

  1. Press Create Bot Command④.

  1. Select a Trigger⑤.

  1. Select When a New message that mentioned BOT in the group chat⑥.

  1. In group select Specific groups⑦ Search for the group you've previously created, select your ChatGPT bot under Bot⑧ , select All of my contacts⑨ and click the Done⑩.

  1. Select an action⑪ and choose Webhook(Send HTTP request)⑫ as the action.

  1. Select the Method POST⑬. Paste the URL⑭ you copied from Vanus Connect. Select the Data type plain⑮, Select the Body When a new message mentions BOT in group chat/Source content(mention @ part remove)⑯, and press Done⑰.

  1. Press Enable⑱, And name your flow and Confirm⑲.

  1. Press My commands⑳, and make sure your bot is open㉑.

  1. Click Next㉒ to continue and complete the configuration.

chatgpt_source_2.webp

Now send a message in the group tagging the bot.


Learn more about Vanus and Vanus Connect in our documentation.