https://github.com/jung217/groq_line_bot
A Line Bot with Groq API
https://github.com/jung217/groq_line_bot
groq-api line linebot linebot-webhook python3 render
Last synced: about 1 year ago
JSON representation
A Line Bot with Groq API
- Host: GitHub
- URL: https://github.com/jung217/groq_line_bot
- Owner: Jung217
- License: mit
- Created: 2024-05-16T05:31:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T02:42:43.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T09:03:27.165Z (about 1 year ago)
- Topics: groq-api, line, linebot, linebot-webhook, python3, render
- Language: Python
- Homepage:
- Size: 3.67 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# groq_line_bot
A Line Bot with Groq API
**加機器人朋友** : [line.me/R/ti/p/@928ngtdy](https://line.me/R/ti/p/@928ngtdy)
[](https://render.com/deploy)

## deploy
Render deploy : `export PATH=$PATH:/usr/local/python3/bin && pip install gunicorn && gunicorn app:app`
## Restricted access
Be careful using you api keys!!

## PS.
* 不確定所有人用一個API會不會互相影響 : 應該不會,每次請求都是獨立的,也因此**無法連續對話**
* 因為免費,所以太久沒用要喚醒
* 模型更換還在努力 >:(
## 參考
* [groq-python/examples/chat_completion.py](https://github.com/groq/groq-python/blob/main/examples/chat_completion.py)
* [Jung217/Penguin-cat-assistant](https://github.com/Jung217/Penguin-cat-assistant)