Skip to content

sudlit/ChatGPT-For-Line-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT For Line Bot

Table of Contents

About

This is using Line bot Messaging API with ChatGPT API. So we make webhook to receive message and process it to send to chatgpt api, process and send result back to user.

How to use

  • config environment value for ChatGPT API Key (apiKey), Line Channel Access Token (token), port in .env file

  • use this command to install necessary package.

npm install
  • use this command to start app.
npm start
  • config webhook url at Line Developer Website
  • enjoy !!

Example

P.S.

https://developers.line.biz/en/services/messaging-api/

https://beta.openai.com/docs/api-reference/edits/create?lang=node.js

https://beta.openai.com/account/api-keys

About

Using ChatGPT Api with Line Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published