docs: change media_url to file_path in API response

This commit is contained in:
Warren
2026-03-25 16:39:48 +08:00
parent dacfb7e083
commit ceb33877ff
2 changed files with 5 additions and 5 deletions

View File

@@ -344,13 +344,13 @@ Story Chunk 可包含多個子 Chunk
"title": "Chunk sentence_1471",
"text": "influenced by a vital way,",
"score": 0.68,
"media_url": "https://wp.momentry.ddns.net/影片檔名.mp4"
"file_path": "/Users/accusys/momentry/var/sftpgo/data/demo/video.mp4"
}
]
}
```
> **注意**: `media_url` 根據資料庫中的 `file_name` 自動產生。建議使用 `vid` + `start`/`end` 自行組建播放器連結
> **注意**: `file_path` 是影片的實際路徑,可用於本地播放
---