Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator
- LINE BOT ACCESS TOKEN
- LINE BOT SECRET
- OPENAI API KEYS
- LINE_CHANNEL_ACCESS_TOKEN = { LINE BOT ACCESS TOKEN }
- LINE_CHANNEL_SECRET = { LINE BOT SECRET }
- OPENAI_API_KEY = { OPENAI API KEYS }
pip install -r requirements.txt
python line_bot_translator.py
- 繁體中文, 英文, 日文, 韓文, 法文, 泰文, 義大利文, 西班牙文, 荷蘭文, 德文
- Traditional Chinese, English, Japanese, Korean, French, Thai, Italian, Spanish, Dutch, German
- Line SDK : https://github.com/line/line-bot-sdk-python
- OpenAI API Document : https://platform.openai.com/docs/introduction