핵심 아이디어

Ainsoft RAG는 별도 검색 서비스를 두기보다 애플리케이션 내부에서 동작하는 embedded retrieval pipeline에 가깝습니다.

저장소 역할

저장소 책임
ainsoft-rag-engine Lucene index, ingest/search pipeline, telemetry
ainsoft-rag-spring-boot-autoconfigure rag.* 설정, admin UI/API, feature-role 보안
ainsoft-rag-spring-boot-starter Spring Boot 애플리케이션의 가장 빠른 통합 진입점

검색 품질 모델

기본 검색 흐름은 다음 단계를 조합합니다.

  1. hybrid retrieval
  2. low-confidence 시 corrective retry
  3. optional query rewrite
  4. reranker
  5. real chunk 우선 표시, summary는 보조 사용

운영 모델

Ainsoft RAG는 provider health, latency, retry, circuit-open 정보를 축적하고 /rag-admin와 운영 API에서 바로 확인할 수 있게 합니다.

관련 문서