mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-07 07:22:43 +08:00
12 lines
442 B
Python
12 lines
442 B
Python
from dataclasses import dataclass
|
||
from typing import Optional
|
||
|
||
from app.models.audio_model import AudioDownloadResult
|
||
from app.models.transcriber_model import TranscriptResult
|
||
|
||
|
||
@dataclass
|
||
class NoteResult:
|
||
markdown: str # GPT 总结的 Markdown 内容
|
||
transcript: TranscriptResult # Whisper 转写结果
|
||
audio_meta: AudioDownloadResult # 音频下载的元信息(title、duration、封面等) |