https://github.com/louis70109/linebot-gemini-fastapi-example
LINE Bot communication example with Gemini, memory by Firebase.
https://github.com/louis70109/linebot-gemini-fastapi-example
Last synced: 2 months ago
JSON representation
LINE Bot communication example with Gemini, memory by Firebase.
- Host: GitHub
- URL: https://github.com/louis70109/linebot-gemini-fastapi-example
- Owner: louis70109
- License: mit
- Created: 2024-03-30T05:11:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T14:13:07.000Z (about 1 year ago)
- Last Synced: 2025-01-31T22:11:22.198Z (4 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change_bot_url.sh
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI 佈署到 Cloud Run 範例
本範例展示了如何使用 Google Cloud Run 快速佈署 FastAPI 應用程式。這個範例將引導您完成以下步驟:
- 使用 Dockerfile 建立一個 Docker 映像檔。
- 使用 gcloud CLI 在 Cloud Run 上啟動映像檔與佈署。
- 測試在 Cloud Run 上執行的 FastAPI 應用程式。## 前置要求
在開始之前,您需要具備以下要求:
- 一個 Google Cloud Platform 帳戶
- 安裝了 gcloud CLI 工具
- 已經安裝 Docker 在本地端環境中
- Firebase's realtime DB URL
- Gemini API Key## 使用方式
[](https://deploy.cloud.run)
```
git clone https://github.com/louis70109/linebot-gemini-fastapi-example.gitcd linebot-gemini-fastapi-example/
gcloud run deploy my-fastapi-example --source .
```## 授權
MIT