Skip to content

Agentic 기능 추가 #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DShomin opened this issue May 1, 2025 · 1 comment
Open

Agentic 기능 추가 #90

DShomin opened this issue May 1, 2025 · 1 comment
Assignees

Comments

@DShomin
Copy link
Contributor

DShomin commented May 1, 2025

Why❓

  • 사용자가 원하는 정보를 얻을 수 있도록 SQL 생성을 다회 수행

How❓

  • Reflexion Looping : 이전에 Wiki에 공유드린 내용과 유사합니다.
graph TD
    A[사용자 질문 수신] --> B(초기 SQL 쿼리 생성)
    B --> C[SQL 쿼리 실행 및 결과/쿼리 제시]
    C --> D{LLM as Judge?}
    D -- 예 --> E[최종 답변 결정]
    D -- 아니오 --> F[LLM 피드백 수신]
    F --> G(피드백 반영하여 SQL 쿼리 재생성)
    G --> C
Loading
  • ReForce : 사용자 질문에 대한 예상 답변을 생성하여 이를 만족하는 답변이 완성될 수 있도록 SQL를 생성하여 데이터 탐색을 만족하는 SQL를 만들어 내는 방법 입니다. 자세한 내용은 아래 mermaid를 참고하시거나 논문을 참고하시는 것을 추천드립니다.
graph TD
    A[사용자 질문 수신] --> B(테이블 압축 - Table Compression)
    B --> C(예상 답변 형식 생성 - Generate Expected Answer Format)
    C --> D(반복적 컬럼 탐색 - Iterative Column Exploration)
    D --> E[데이터 탐색 결과]
    E --> F{자체 개선 파이프라인 - Self-Refinement Pipeline}

    subgraph 자체 개선 과정
        direction TB // 서브그래프 내부 방향 설정 (선택 사항)
        F --> G1(워크플로우 스레드 1)
        F --> G2(워크플로우 스레드 2)
        F --> G3(워크플로우 스레드 3)
        G1 --> H[결과 1]
        G2 --> I[결과 2]
        G3 --> J[결과 3]
    end

    H --> K{투표 메커니즘 - Voting Mechanism}
    I --> K
    J --> K
    K --> L{자체 일관성 달성? - Self-Consistency Achieved?}
    L -- 예 --> M[최종 답변 결정]
    L -- 아니오 --> F
Loading

What❓

[]

@nonegom
Copy link
Contributor

nonegom commented May 4, 2025

저는 multi agent개념으로 접근해서 한 번 공유드리겠습니다~!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants