An open API service indexing awesome lists of open source software.

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

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)

[![Deploy to Render](http://render.com/images/deploy-to-render-button.svg)](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!!
![image](https://github.com/Jung217/groq_line_bot/assets/99934895/ad510f17-593f-47b7-a908-6793e16ff29c)

## 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)