feat(ai): add deep reading model and controller method

- Introduced `AIDeepReadingModel` to define the structure for deep reading responses.
- Added `getDeepReading` method in `AIController` to fetch deep reading data for a given article ID.
- Updated imports in `ai.ts` to include the new deep reading model.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-05-06 00:27:18 +08:00
parent c385c58943
commit 8a5048f067
2 changed files with 20 additions and 1 deletions

View File

@@ -6,3 +6,12 @@ export interface AISummaryModel {
refId: string
lang: string
}
export interface AIDeepReadingModel {
id: string
hash: string
refId: string
keyPoints: string[]
criticalAnalysis: string
content: string
}