Skip to content

[G-NM-02] Episodic deep recall mode #33

Description

@luke-n-alpha

개요

LocalAdapter.recall() / provider.recall()mode?: 'fast' | 'deep' 옵션 추가.

배경

현재 recall은 extracted facts 기반(fast mode). mempalace 패턴에서 착안: 심사숙고 시 원문 재열람이 필요한 시나리오 존재. naia-memory episodic store의 content 필드(원문 보관)를 활용.

구현 계획

  • mode: 'fast' (default): 기존 extracted facts 기반 BM25+cosine+RRF
  • mode: 'deep': episodic content 원문 대상 BM25+cosine 검색
    • 심사숙고 시나리오, 맥락 재열람용
    • naia-agent가 판단하여 호출 (spike subscriber 역할)

Anti-overfitting 원칙

  • 카테고리별 분기 없음, 단일 전략 (naia-memory Anti-Drift Anchor 준수)
  • deep mode = 원문 검색 전략 1개만

3-레이어 아키텍처 내 위치

Layer 3: Episodic archive — 원문 보관 (DEEP)
  recall({ mode: 'deep' }): episodic content 원문 검색 ← 이 이슈

진행 조건

  • naia-agent R0 P0 해소 후 진행

fixes G-NM-02

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2개선·측정·후순위

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions