RAG - 논문 요약 프롬프트 작성 (250910)

WonTerry·2025년 9월 10일

LLM

목록 보기
20/69

고찰 - 실제 논문의 원제목과 LLM이 도출한 제목이 다르다. (250910)

최종 입력 버전 (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."

출력 결과 (250910)

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)

  • Title: 캐비테이션 초생 선속 분석 및 시스템 개발 (Analysis and System Development of Cavitation Inception Speed)
  • Bullet Points:
    • 연구 목표 제시 (Presentation of Research Objectives)
    • 핵심 기술 소개 (Introduction of Core Technologies)
    • 결과 요약 (Summary of Results)
  • Speaker Note: “본 발표에서는 선박 추진기의 캐비테이션 초생 선속을 예측하기 위한 새로운 분석 시스템 개발에 대해 설명합니다. 이 시스템은 기포동역학적 모델링과 전산 유체 역학(CFD) 기술을 통합하여 활용됩니다.”

(Slide 2: Cavitation Overview – 캐비테이션 개요)

  • Title: 캐비테이션 현상 이해 (Understanding the Cavitation Phenomenon)
  • Bullet Points:
    • 캐비테이션 정의 (Definition of Cavitation)
    • 캐비테이션 유형 분류 (Classification of Cavitation Types - 이동, 고정, 진동)
    • 캐비테이션 발생 요인 (Factors Contributing to Cavitation Formation – Reynolds 수, 유속 등)
  • Speaker Note: “캐비테이션은 유체 흐름에서 발생하는 현상으로, 액체가 기체로 갑작스럽게 변하는 현상을 말합니다. 이러한 현상은 선박 추진기의 성능 저하 및 손상 원인이 됩니다.”

(Slide 3: Methodology – 방법론)

  • Title: 분석 시스템의 구성 (Composition of the Analysis System)
  • Bullet Points:
    • 기포동역학 모델링 (Bubble Dynamics Modeling - Rayleigh-Plesset 방정식 활용)
    • 전산 유체 역학(CFD) 시뮬레이션 (Computational Fluid Dynamics Simulation – Q-criterion 적용)
    • 소음 해석 (Noise Analysis – 단극자 소음원 모델링)
  • Speaker Note: “본 연구에서는 기포동역학적 모델링과 CFD 시뮬레이션을 결합하여 캐비테이션 초생 선속을 정확하게 예측합니다. 특히, Q-criterion을 사용하여 와류를 효과적으로 분석합니다.”

(Slide 4: 타원형날개 해석 결과 – Elliptical Wing Analysis Results)

  • Title: 간단한 형상에서의 시스템 검증 (System Validation on Simple Shape)
  • Bullet Points:
    • 타원형날개 모델링 (Modeling of Elliptical Wing)
    • CIS 예측 결과 제시 (Presentation of CIS Prediction Results)
    • 실험 결과와의 비교 (Comparison with Experimental Results – Carlton, 2018 기준)
  • Speaker Note: “타원형날개를 사용하여 개발한 시스템의 유효성을 검증했습니다. 이 결과는 실제 추진기 캐비테이션 현상을 예측하는 데 활용될 수 있습니다.”

(Slide 5: 추진기 CIS 해석 – Propulsion System CIS Analysis)

  • Title: 잠수함/수상함 추진기에 적용 (Application to Submarine/Surface Ship Propellers)
  • Bullet Points:
    • 다양한 추진기 형상 분석 (Analysis of Various Propeller Geometries)
    • CIS 예측 및 비교 (Prediction and Comparison of CIS)
    • 설계 최적화 가능성 제시 (Suggestion for Design Optimization)
  • Speaker Note: “본 연구에서 개발한 시스템은 잠수함 및 수상함 추진기의 캐비테이션 초생 선속을 예측하고, 이를 기반으로 추진기 설계를 최적화하는 데 기여할 수 있습니다.”

(Slide 6: 향후 연구 방향 – Future Research Directions)

  • Title: 추가 연구 및 개발 계획 (Additional Research and Development Plans)
  • Bullet Points:
    • 고정밀 시뮬레이션 시스템 구축 (Construction of High-Precision Simulation System)
    • 와류 발생기 설계 최적화 (Optimization of Vortex Generator Design)
    • 다양한 해양 환경 조건 적용 (Application to Various Marine Environment Conditions)
  • Speaker Note: “향후 연구에서는 더욱 정교한 시뮬레이션 시스템을 구축하고, 와류 발생기를 통해 캐비테이션 초생 선속을 지연시키는 기술 개발에 집중할 계획입니다.”

(Slide 7: Conclusion – 결론)

  • Title: 결론 (Conclusion)
  • Bullet Points:
    • 새로운 분석 시스템의 성공적인 개발 (Successful Development of New Analysis System)
    • 해군 함정 추진기 성능 향상 기여 (Contribution to Improving Propulsion Performance of Naval Vessels)
    • 지속적인 연구 개발 필요성 강조 (Emphasis on the Need for Continued Research and Development)
  • Speaker Note: “본 연구를 통해 선박 추진기의 캐비테이션 초생 선속을 예측하는 새로운 시스템이 개발되었으며, 이는 해군 함정의 성능 향상에 크게 기여할 것으로 기대됩니다.”

<<'END'>>


1. Basic Prompt

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."

2. Detailed Instructions (Summary + PPT)

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."

3. Presenter-Friendly Prompt (With Script)

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."

4. Academic Style Prompt (Structured Research Presentation)

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."

profile
Hello, I'm Terry! 👋 Enjoy every moment of your life! 🌱 My current interests are Signal processing, Machine learning, Python, Database, LLM & RAG, MCP & ADK, Multi-Agents, Physical AI, ROS2...

0개의 댓글