Build a ChatGpt bot in Lark (飞书) using OpenAI's gpt-3.5-turbo model. The backend is hosted on AWS's serveless, and it is free. For steps in Lark side, please refer to develop-a-bot-in-5-minute
- create a
.env
file in foldercdkstack/
, add the your actual variables.
DB_TABLE=lark_messages
LARK_APPID=cli_xxxx
LARK_APP_SECRET=xxxx
LARK_TOKEN=xxxx
OPENAI_API_KEY=sk-MjDVnhmnxxxx
START_CMD=/rs