Skip to content

[기능] Self RAG 적용 #141

@ehddnr301

Description

@ehddnr301

기능 설명 (Description)

왜 필요한가요? (Motivation / Use Case)

  • 질문이 모호하거나 SQL 변환이 불가능한 경우가 존재함
  • 검색된 문서가 쿼리 작성과 무관할 때, 사용자 경험 저하
  • 예:
    • 질문: "매출 알려줘" → 너무 모호 → 개선 필요 ("일별 매출 합계를 보여줘")
    • 문서: 질문은 매출 관련인데 검색된 문서가 유저 로그인 로그라면 → 부적절

제안하는 해결 방법 (Proposed Implementation)

  • 질문 적절성 평가: SQL 변환 가능 여부 체크 (Suit / Ambiguous / Inappropriate)
  • 문서 적합성 평가: 질문과 테이블/칼럼 연관성 기반 점수화 (0~1 스케일)
  • 결과 예시:
    • 질문 적절성: Ambiguous
    • 관련 문서
      • sales_summary: Suit
      • user_login: Inappropriate

대안 (Alternatives)

  • 현안 유지...?

추가 고려사항 (Additional Context)

  • UI에서의 영향 고려 (Optional한 제공?)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions