Skip to content

A Golang DALLE2 api linebot project, quickly built on the platform Render

Notifications You must be signed in to change notification settings

pyfbsdk59/Golang-DALLE2-linebot-Render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang-DALEE2-linebot-Render

A Golang DALEE2 linebot project, quickly built on the platform Render

1. This project refers to the following ones and official docs below.

https://github.com/kkdai/chatgpt
https://github.com/line/line-bot-sdk-go
https://github.com/kkdai/LineBotTemplate

2. Please fork this project to your own Github account first. Go to Render website, choose to add "Web Services", import this project with your Github account, and then set your own project name and choose a free plan. Remember to click "Advanced" below to set the environment variables.

3. 3 environment variables must be set in Render's Environment Variables in this project, namely OPENAI_TOKEN, which are OPENAI's api key, and then there are two other environment variables CHANNEL_SECRET and CHANNEL_TOKEN of line. It may take some time to start deploying after setting. After success, copy your own URL to the Line developer webpage to set the Webhook URL. For example,

https://xxx.onrender.com/callback


Line and OPENAI api settings:

https://github.com/howarder3/GPT-Linebot-python-flask-on-vercel

About

A Golang DALLE2 api linebot project, quickly built on the platform Render

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published