mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-16 06:27:36 +08:00
15 lines
316 B
Python
15 lines
316 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
|
|
|