추가할 수 있는 일련의 아이디어를 아우르는 용어이다. 중요한 아이디어로는 가상 답변, 쿼리
확장, 혼합 검색, 그래프
RAG
활용이 있다(그림
4
-
1
).
지식 공급원
인덱서
(분할 및 색인화)
LLM
: 쿼리 확장
그래프 데이터베이스:
임베딩, 키워드 →
청크 + 관계
검색기
LLM
: 생성
응답:
텍스트, 출처 정보
유관 청크
색인화 파이프라인
질의응답 파이프라인
생성(
G
)
컨텍스트 증강(
A
)
쿼리
혼합 검색
프롬프트
LLM
: 가상 답변 생성
저장
그림
4-1
색인 인식 검색
215
4
장
지식 추가: 고급
이 해법을 적용할 때는 이러한 아이디어들을 개별적으로 살펴보면서 여러분이 색인화하려는
콘텐츠의 유형 및
RAG
시스템이 답변하는 질문의 유형에 적합한지 판단해야 한다.
아이디어
1
: 가상 답변
쿼리 자체로 의미 기반 검색을 수행하는 것이 효과적이지 않은 상황에서는 쿼리에 답이 될 만
한 문장을 검색해 보는 것이 도움이 된다. 앞에 나온 마드리드 근처 역사적 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.