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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user