Prompt Engineering
- Give Clear Instruction: 명확한 지시
- Impose Persona: 페르소나 부여
- Provide Examples: 예시 제공
- Specify the Output Format: 출력 포맷 지정
- Provide Sufficient Context: 충분한 컨텍스트
- Break into Simpler Subtasks: 작업 분해
- Give the Model Time to Think: CoT 부여
- Iterate & Versioning: 반복 버저닝
- e.g Simplicity 간결성
- e.g Specific 구체성
- e.g Variables 변수화
Inference-time Reasoning
- CoT
- 아이디어: 다단계 추론 정확도 향상 (수학 작업 등)
- 주의: 법률 같은 도메인에서는 자체 지식 부족
- ToT
- 아이디어: 트리를 만들고 각 분기에서 탐색/평가
- 글쓰기 계획에서 성공률 ↑
- RAP (Reasoning via Planning)
- 아이디어: Planning Reasoning Evaluation
- 수학, 독해, 코드