- 開啟 LM Studio,載入模型並啟用 API Server(OpenAI API 格式,預設 port 是 1234)。
- 安裝 Python 套件:
pip install fastapi uvicorn requests
- 執行後端:
uvicorn main:app --reload --port 8000
- 用瀏覽器開啟
index.html開始聊天! - 為此課程期末專案 : https://github.com/yu3249/Introducing-Generative-AI-for-Humanities-
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|