Skip to content

Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator

License

Notifications You must be signed in to change notification settings

super13579/line_bot_translator_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line_bot_translator_flask

Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator

Getting Started

Requirement

  • LINE BOT ACCESS TOKEN
  • LINE BOT SECRET
  • OPENAI API KEYS

Setup Token and API KEY to Config.txt

  • LINE_CHANNEL_ACCESS_TOKEN = { LINE BOT ACCESS TOKEN }
  • LINE_CHANNEL_SECRET = { LINE BOT SECRET }
  • OPENAI_API_KEY = { OPENAI API KEYS }

Intall dependencies

pip install -r requirements.txt

Run Flask

python line_bot_translator.py

Usage

Support Language

  • 繁體中文, 英文, 日文, 韓文, 法文, 泰文, 義大利文, 西班牙文, 荷蘭文, 德文
  • Traditional Chinese, English, Japanese, Korean, French, Thai, Italian, Spanish, Dutch, German

Acknowledgement

About

Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages