이미지 분류 및 슬롯 찾기 적용

This commit is contained in:
jaehwang committed 2026-04-01 07:07:38 +00:00
1 parent 2c6faadcf2
commit ebf76a0f8f
10 files changed
+947 -909

No files matched your search

+4 -3
View File
@@ -31,12 +31,13 @@ class Prompt():
return prompt_template
def build_prompt(self, input_data:dict) -> str:
def build_prompt(self, input_data:dict, silent:bool = False) -> str:
verified_input = self.prompt_input_class(**input_data)
build_template = self.prompt_template
build_template = build_template.format(**verified_input.model_dump())
logger.debug(f"build_template: {build_template}")
logger.debug(f"input_data: {input_data}")
if not silent:
logger.debug(f"build_template: {build_template}")
logger.debug(f"input_data: {input_data}")
return build_template
marketing_prompt = Prompt(