mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
19 lines
459 B
Python
19 lines
459 B
Python
from dataclasses import dataclass
|
|
from typing import List, Union, Optional
|
|
|
|
from app.models.transcriber_model import TranscriptSegment
|
|
|
|
|
|
@dataclass
|
|
class GPTSource:
|
|
segment: Union[List[TranscriptSegment], List]
|
|
title: str
|
|
tags:str
|
|
screenshot: Optional[bool] = False
|
|
link: Optional[bool] = False
|
|
style: Optional[str] = None
|
|
extras: Optional[str] = None
|
|
_format: Optional[list] = None
|
|
video_img_urls: Optional[list] = None
|
|
|