playlist-admin 2.17.3 → 2.17.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,10 @@ description: Use when the user asks a question about podcast transcripts, study
|
|
|
11
11
|
|
|
12
12
|
## 流程
|
|
13
13
|
|
|
14
|
-
1.
|
|
14
|
+
1. 檢查 Ollama 在跑(`Test-NetConnection localhost -Port 11434`),
|
|
15
|
+
且 **embedding 模型 `bge-m3` 已 pull**(`ollama list | findstr bge-m3`)。
|
|
16
|
+
缺 bge-m3 會 ConnectionRefused / 維度不符 —— 那不是 RAG 壞了,是模型沒下載:
|
|
17
|
+
`ollama pull bge-m3`(約 1.2 GB,只需一次)。
|
|
15
18
|
2. 判斷查詢類型:
|
|
16
19
|
- **Podcast 相關**(「某集講什麼」「節目有沒有提到」)→ 用 `rag/query.py`
|
|
17
20
|
- **試題/課程相關**(「某題怎麼解」「齒輪有哪些」「機件原理」)→ 用 `rag/study_query.py`
|