📦 Initialize Geulbeot structure and merge Prompts & test projects
This commit is contained in:
11
02. Prompts/문서생성/codedomain/아래_디자인_Python_v01.py
Normal file
11
02. Prompts/문서생성/codedomain/아래_디자인_Python_v01.py
Normal file
@@ -0,0 +1,11 @@
|
||||
def choose_design_template():
|
||||
samples = sorted(os.listdir(DESIGN_DIR))
|
||||
prompt = (
|
||||
"아래 디자인 샘플 파일들 중 이 보고서에 어울리는 상위 3안(1안,2안,3안)을 "
|
||||
"순서대로 파일명만으로 알려주세요:\n" + "\n".join(samples)
|
||||
)
|
||||
lines = call_gpt("디자인 전문가입니다.", prompt).splitlines()
|
||||
return [ln.strip() for ln in lines if ln.strip() in samples][:3]
|
||||
|
||||
|
||||
# ─── PPT 생성 ────────────────────────────────────
|
||||
Reference in New Issue
Block a user