언어선택에 따른 자막생성 구현

This commit is contained in:
skkim committed 2026-06-08 09:20:27 +09:00
1 parent bdee852bed
commit 997927d42a
10 files changed
+149 -45

No files matched your search

+4 -4
View File
@@ -1,16 +1,16 @@
from pydantic import BaseModel, create_model, Field
from typing import List, Optional
from typing import List
from functools import lru_cache
# Input 정의
class SubtitlePromptInput(BaseModel):
marketing_intelligence : str = Field(..., description="마케팅 인텔리전스 정보")
marketing_intelligence : str = Field(..., description="마케팅 인텔리전스 정보")
pitching_tag_list_string : str = Field(..., description="필요한 피칭 레이블 리스트 stringify")
customer_name : str = Field(..., description = "마케팅 대상 사업체 이름")
detail_region_info : str = Field(..., description = "마케팅 대상 지역 상세")
#subtillecars :
language : str = Field(default="Korean", description="자막 출력 언어 (Korean, English, Chinese, Japanese, Thai, Vietnamese)")
# Output 정의
class PitchingOutput(BaseModel):
pitching_tag: str = Field(..., description="피칭 레이블")