Skip to content

Use ChatGPT to summarize your group chat as a chat summarizer with the LINE Bot Chat Summarizer.

License

Notifications You must be signed in to change notification settings

kkdai/LINE-Bot-ChatSummarizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINE Bot Chat Summarizer: Use ChatGPT to summarize your group chat as a chat summarizer with the LINE Bot Chat Summarizer

Join the chat at https://gitter.im/kkdai/LINE-Bot-ChatSummarizer GoDoc Go goreportcard.com

How to use this

To obtain a LINE Bot API developer account

Make sure you are registered on the LINE developer console at https://developers.line.biz/console/ if you want to use a LINE Bot.

Create a new Messaging Channel and get the "Channel Secret" on the "Basic Setting" tab.

Issue a "Channel Access Token" on the "Messaging API" tab.

Open the LINE OA manager from the "Basic Setting" tab and go to the Reply setting on the OA manager. Enable "webhook" there.

To obtain an OpenAI API token

Register for an account on the OpenAI website at https://openai.com/api/.

Once you have an account, you can find your API token in the account settings page.

If you want to use the OpenAI API for development, you can find more information and instructions in the API documentation page.

Please note that the OpenAI API is only available to users who meet certain criteria. You can find more information about the usage conditions and limitations of the API in the API documentation page.

To deploy this on Heroku

Click the "Deploy" button at https://www.herokucdn.com/deploy/button.svg.

Input the "Channel Secret", "Channel Access Token", and "ChatGPT Access Token".

Remember your Heroku server ID.

To set up the basic API in the LINE Bot Dashboard:

Set up your basic account information, including the "Callback URL" at https://{YOUR_HEROKU_SERVER_ID}.herokuapp.com/callback. That's it! You're done.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.