프롬프트 아웃풋 description 추가
parent
df3bfda594
commit
e32e795c73
|
|
@ -3,9 +3,9 @@ from typing import List
|
||||||
|
|
||||||
# Input 정의
|
# Input 정의
|
||||||
class MarketingPromptInput(BaseModel):
|
class MarketingPromptInput(BaseModel):
|
||||||
customer_name : str
|
customer_name : str = Field(..., description = "마케팅 대상 사업체 이름")
|
||||||
region : str
|
region : str = Field(..., description = "마케팅 대상 지역")
|
||||||
detail_region_info : str
|
detail_region_info : str = Field(..., description = "마케팅 대상 지역 상세")
|
||||||
|
|
||||||
|
|
||||||
# Output 정의
|
# Output 정의
|
||||||
|
|
@ -25,7 +25,7 @@ class AgeRange(BaseModel):
|
||||||
|
|
||||||
class TargetPersona(BaseModel):
|
class TargetPersona(BaseModel):
|
||||||
persona: str = Field(..., description="타겟 페르소나 이름/설명")
|
persona: str = Field(..., description="타겟 페르소나 이름/설명")
|
||||||
age: AgeRange
|
age: AgeRange = Field(..., description="타겟 페르소나 나이대")
|
||||||
favor_target: List[str] = Field(..., description="페르소나의 선호 요소")
|
favor_target: List[str] = Field(..., description="페르소나의 선호 요소")
|
||||||
decision_trigger: str = Field(..., description="구매 결정 트리거")
|
decision_trigger: str = Field(..., description="구매 결정 트리거")
|
||||||
|
|
||||||
|
|
@ -36,8 +36,8 @@ class SellingPoint(BaseModel):
|
||||||
score: int = Field(..., ge=0, le=100, description="점수 (100점 만점)")
|
score: int = Field(..., ge=0, le=100, description="점수 (100점 만점)")
|
||||||
|
|
||||||
class MarketingPromptOutput(BaseModel):
|
class MarketingPromptOutput(BaseModel):
|
||||||
brand_identity: BrandIdentity
|
brand_identity: BrandIdentity = Field(..., description="브랜드 아이덴티티")
|
||||||
market_positioning: MarketPositioning
|
market_positioning: MarketPositioning = Field(..., description="시장 포지셔닝")
|
||||||
target_persona: List[TargetPersona]
|
target_persona: List[TargetPersona] = Field(..., description="타겟 페르소나")
|
||||||
selling_points: List[SellingPoint]
|
selling_points: List[SellingPoint] = Field(..., description="셀링 포인트")
|
||||||
target_keywords: List[str] = Field(..., description="타겟 키워드 리스트")
|
target_keywords: List[str] = Field(..., description="타겟 키워드 리스트")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue