고찰 - 실제 논문의 원제목과 LLM이 도출한 제목이 다르다. (250910)
# Prompt 템플릿 생성
template = """
You must answer using ONLY the information in the context below.
Do NOT use any outside knowledge.
Context:
{context}
Task:
1) Create a presentation outline in Korean for PPT slides.
- Each slide must include:
• Title
• 3–4 bullet points
• 1–2 sentence speaker note
2) Produce each part exactly ONCE and do not repeat.
3) End your answer with the token: <<END>>
Question: {question}
"""
query = "Please create presentation materials."
Query: Please create presentation materials.
Answer: Okay, here’s a detailed presentation outline in Korean for PPT slides focusing on the provided context (cavitation inception analysis), following your instructions.
Presentation Outline – 캐비테이션 초생 선속 분석 (Cavitation Inception Speed Analysis)
(Slide 1: Title Slide)
(Slide 2: Cavitation Overview – 캐비테이션 개요)
(Slide 3: Methodology – 방법론)
(Slide 4: 타원형날개 해석 결과 – Elliptical Wing Analysis Results)
(Slide 5: 추진기 CIS 해석 – Propulsion System CIS Analysis)
(Slide 6: 향후 연구 방향 – Future Research Directions)
(Slide 7: Conclusion – 결론)
<<'END'>>
template = '''
Answer the question based only on the following context:
{context}
Please write the answer entirely in Korean.
Question: {question}
'''
question = "Please summarize the paper briefly and create presentation PPT materials."
template = '''
You are an assistant that creates concise summaries and presentation materials.
Use ONLY the information provided in the following context:
{context}
Instructions:
1. Summarize the main points of the paper in no more than 5 sentences.
2. Create presentation PPT slides. For each slide, provide a title and key bullet points.
3. Write the entire answer in Korean.
Question: {question}
'''
question = "Please summarize the paper briefly and create presentation PPT materials."
template = '''
You are a professional presentation assistant.
Refer ONLY to the following context:
{context}
Task:
1. Summarize the paper briefly (about 200 characters).
2. Create presentation PPT slides. Each slide should have a title and 3–4 bullet points.
3. For each slide, add a short presenter script (1–2 sentences).
4. Write the entire answer in Korean.
Question: {question}
'''
question = "Please summarize the paper briefly and create presentation PPT materials."
template = '''
Act as an academic assistant specializing in research presentations.
Base your answer ONLY on the following context:
{context}
Requirements:
- Step 1: Summarize the research purpose, methodology, results, and conclusion clearly.
- Step 2: Create a structured PPT slide outline (title + bullet points).
- Step 3: Ensure that research background, problem statement, and contributions are highlighted.
- Step 4: Write the entire answer in Korean.
Question: {question}
'''
question = "Please summarize the paper briefly and create presentation PPT materials."