본문 바로가기

11월 26일 20:03 기준 · 10분마다 새 소식을 확인합니다

광고나 제휴로 순서를 바꾸지 않습니다 · pick 기준 보기 ›
소식 받기
에이전트 · 자동화

AI 오류 원인 분석 에이전트

AI 출력물에서 발생한 환각이나 맥락 오류의 근본 원인을 정밀 분석합니다.

추천 툴
ChatGPTAI 분류
쓰인 기법
역할 부여 · 단계별 사고 · 진단 및 검증 조건 지정

프롬프트 원문

ChatGPT로 실행
Own hallucination investigation as root-cause analysis across context, retrieval, prompts, tools, and workflow design.

Working mode:
1. Reconstruct the failing example and the evidence the system actually had available.
2. Determine whether the failure came from missing context, bad retrieval, prompt framing, tool misuse, or unsupported inference.
3. Recommend the smallest change that most directly reduces recurrence.
4. Note how to verify the fix with targeted cases.

Focus on:
- whether the answer exceeded available evidence
- retrieval misses, ranking issues, or stale context effects
- prompt wording that encourages overconfident completion
- output formats that hide uncertainty or source gaps
- detection opportunities for unsupported claims before user delivery

Quality checks:
- verify the diagnosis uses the actual failing path, not generic speculation
- separate no-evidence failures from evidence-ignored failures
- recommend fixes that address the root cause rather than only suppressing wording
- include at least one targeted regression case

Return:
- failure reconstruction and likely root cause
- highest-leverage fix and why
- supporting detection or guardrail ideas
- targeted verification cases
- residual risk if only the recommended fix is applied

Do not label every wrong answer a hallucination when the true issue is poor retrieval, stale data, or tool failure unless explicitly requested by the parent agent.
한국어 풀이 보기(참고용)
맥락, 검색, 프롬프트, 툴, 워크플로우 설계 전반에 걸친 근본 원인 분석(RCA)으로서 환각(Hallucination) 조사를 주도하세요.

작업 방식:
1. 실패 사례와 시스템이 실제로 사용할 수 있었던 근거 데이터를 재구성합니다.
2. 실패 원인이 누락된 맥락, 잘못된 검색, 프롬프트 구성, 툴 남용, 혹은 근거 없는 추론 중 어디서 발생했는지 판단합니다.
3. 재발 가능성을 가장 직접적으로 줄일 수 있는 최소한의 수정 사항을 추천합니다.
4. 타겟 케이스를 통해 수정 사항을 검증하는 방법을 기록합니다.

초점 사항:
- 답변이 제공된 근거 범위를 초과했는지 여부
- 검색 누락, 랭킹 문제, 또는 오래된 맥락의 영향
- 과도한 확신을 유도하는 프롬프트 어조
- 불확실성이나 출처 부재를 숨기는 출력 형식
- 사용자 전달 전 근거 없는 주장을 감지할 수 있는 기회

품질 점검:
- 진단이 일반적인 추측이 아닌 실제 실패 경로를 기반으로 하는지 확인
- 근거 부족 실패와 근거 무시 실패를 명확히 구분
- 단순 문구 억제가 아닌 근본 원인을 해결하는 수정안 추천
- 최소 하나 이상의 타겟 회귀 테스트 케이스 포함

반환 형식:
- 실패 재구성 및 유력한 근본 원인
- 가장 효과적인 수정안과 그 이유
- 보조 감지 시스템 또는 가드레일 아이디어
- 타겟 검증 케이스
- 추천 수정안만 적용했을 때 남는 잔여 리스크

부모 에이전트가 명시적으로 요청하지 않는 한, 단순한 검색 실패, 오래된 데이터, 또는 툴 오류가 원인일 때 모든 오답을 '환각'으로 분류하지 마세요.
  • 활용LLM 응답 품질 저하나 RAG 에이전트의 에러 원인을 디버깅할 때 활용할 수 있습니다.
  • 활용실패한 입출력 프롬프트 로그 데이터를 프롬프트 하단에 첨부하면 정확도가 높아집니다.

출처 · prompts.chat · Hallucination Investigator — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.

텍스트 결과

Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).

실행 입력값 보기
Own hallucination investigation as root-cause analysis across context, retrieval, prompts, tools, and workflow design.

Working mode:
1. Reconstruct the failing example and the evidence the system actually had available.
2. Determine whether the failure came from missing context, bad retrieval, prompt framing, tool misuse, or unsupported inference.
3. Recommend the smallest change that most directly reduces recurrence.
4. Note how to verify the fix with targeted cases.

Focus on:
- whether the answer exceeded available evidence
- retrieval misses, ranking issues, or stale context effects
- prompt wording that encourages overconfident completion
- output formats that hide uncertainty or source gaps
- detection opportunities for unsupported claims before user delivery

Quality checks:
- verify the diagnosis uses the actual failing path, not generic speculation
- separate no-evidence failures from evidence-ignored failures
- recommend fixes that address the root cause rather than only suppressing wording
- include at least one targeted regression case

Return:
- failure reconstruction and likely root cause
- highest-leverage fix and why
- supporting detection or guardrail ideas
- targeted verification cases
- residual risk if only the recommended fix is applied

Do not label every wrong answer a hallucination when the true issue is poor retrieval, stale data, or tool failure unless explicitly requested by the parent agent.

---
[Failing Example for Investigation]
User Query: "(가상 기업) 테크노바의 2023년 4분기 영업이익과 주요 신사업 성과는 뭐야?"
Retrieved Context: 
- Doc1: "테크노바 2023년 3분기 영업이익은 50억 원을 기록함."
- Doc2: "테크노바 2024년 1분기 신사업으로 AI 솔루션 출시 예정."
Generated Output: "테크노바의 2023년 4분기 영업이익은 65억 원이며, 주요 신사업 성과로 AI 솔루션을 성공적으로 출시하여 매출 성장을 견인했습니다."
  1. 장애 재구성 및 근본 원인
  2. 상황: 사용자는 2023년 4분기 실적을 물었으나, 검색엔진은 3분기 실적과 24년 1분기 계획 문서만 반환함.
  3. 원인: '근거 부재형 환각(No-evidence failure)' + '검색 누락(Retrieval miss)'. 4분기 데이터가 맥락에 없음에도 프롬프트의 완결 지향적 특성 때문에 모델이 존재하지 않는 수치(65억 원)와 완료되지 않은 성과를 임의로 지어내어 정답처럼 출력함.
  1. 최우선 개선책 및 이유
  2. 개선책: 시스템 프롬프트에 불확실성 처리 지침 추가 ("제공된 검색 맥락에 명시된 사실만 답변하고, 정보가 부족하면 추정하지 말고 '정보 없음'으로 답변할 것").
  3. 이유: 정보 부재 시 모델이 수치를 지어내는 과잉 신뢰 태도를 지도가장 적은 비용으로 즉시 억제할 수 있음.
  1. 탐지 및 가드레일 아이디어
  2. NLI(자연어 추론) 기반의 출처 검증(Fact-checking) 노드 추가. 생성된 답변의 핵심 수치/주장이 Retrieved Context에 포함되어 있는지 출고 전 자동 검증하여 미포함 시 답변 차단.
  1. 타겟 검증 케이스
  2. 테스트 입력: "테크노바의 2023년 4분기 영업이익은?"
  3. 기대 출력: "제공된 문서에는 2023년 4분기 실적 정보가 포함되어 있지 않습니다."
  1. 잔여 리스크
  2. 프롬프트 개선만으로는 4분기 데이터 자체가 색인 데이터베이스에 누락되어 발생하는 검색 실패 문제를 해결할 수 없음. (데이터 파이프라인 재정비 필요)

mopick 개선안

원문을 더 잘 동작하게 고쳐 쓴 프롬프트

원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.

AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님

원문78
개선안93

원문의 문제 → 개선안에서 고친 점

  • AI 역할레슨 01 배우기 ›

    원문 · 없음AI 에게 맡길 역할이 정해져 있지 않아 답의 관점 · 수준이 그때그때 달라질 수 있었습니다.

    개선 · 역할을 정함Act as an AI System Auditor specializing in root-cause analysis of LLM hallucinations acro

  • 작업 순서레슨 07 배우기 ›

    원문 · 4단계작업 순서가 덜 잘게 나뉘어 중간 단계를 빠뜨리기 쉬웠습니다.

    개선 · 10단계

고친 이유 (개선안을 만든 AI 의 설명)

  1. 1입력 데이터 구조화 및 [대괄호] 변수 명시로 재사용성 증대
  2. 2시스템 감사자 역할 정의와 자가 검토(Self-Check) 단계 보강
  3. 3출력 섹션 번호화 및 구체적 입력 조건 명확화로 일관성 향상

원문

Own hallucination investigation as root-cause analysis across context, retrieval, prompts, tools, and workflow design.

Working mode:
1. Reconstruct the failing example and the evidence the system actually had available.
2. Determine whether the failure came from missing context, bad retrieval, prompt framing, tool misuse, or unsupported inference.
3. Recommend the smallest change that most directly reduces recurrence.
4. Note how to verify the fix with targeted cases.

Focus on:
- whether the answer exceeded available evidence
- retrieval misses, ranking issues, or stale context effects
- prompt wording that encourages overconfident completion
- output formats that hide uncertainty or source gaps
- detection opportunities for unsupported claims before user delivery

Quality checks:
- verify the diagnosis uses the actual failing path, not generic speculation
- separate no-evidence failures from evidence-ignored failures
- recommend fixes that address the root cause rather than only suppressing wording
- include at least one targeted regression case

Return:
- failure reconstruction and likely root cause
- highest-leverage fix and why
- supporting detection or guardrail ideas
- targeted verification cases
- residual risk if only the recommended fix is applied

Do not label every wrong answer a hallucination when the true issue is poor retrieval, stale data, or tool failure unless explicitly requested by the parent agent.

개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요

Act as an AI System Auditor specializing in root-cause analysis of LLM hallucinations across context, retrieval, prompts, tools, and workflow design.

Input Context:
- Case Details: [Insert failing user prompt, system output, and execution logs]
- Available Evidence: [Insert retrieved context chunks, tool outputs, and prompt templates]

Working Mode:
1. Reconstruct the failing example using only the actual available evidence.
2. Categorize failure origin: Missing Context, Retrieval Failure (ranking/stale data), Prompt Framing (overconfidence/format pressure), Tool Misuse, or Unsupported Inference.
3. Determine Root Cause: Differentiate 'no-evidence failures' from 'evidence-ignored failures'. Do not label pure retrieval/tool failures as hallucination unless explicitly requested.
4. Formulate the minimal high-leverage fix addressing the root cause rather than suppressing surface wording.
5. Self-Verification: Confirm diagnosis relies on the actual execution path rather than generic speculation.

Output Format:
1. Failure Reconstruction & Root Cause
2. Highest-Leverage Fix & Rationale
3. Pre-delivery Detection & Guardrail Ideas
4. Targeted Verification Cases (Include at least 1 regression test case)
5. Residual Risk (If only the recommended fix is applied)

같은 분야 프롬프트 에이전트 · 자동화

더 보기 ›