돌려주는 것도 좋은 방법이다. 그러면 사용자는 그것을 인용 목록을 만드는 데 활용할 수 있다.
라마인덱스의 경우 노드에는 그것이 속한 문서의 메타데이터와 문서 내 청크의 위치 정보도 들
어 있다.
3.1.3
예제
앞의 논의를 모두 모아서 하나의 종단 간
end
-
to
-
end
시스템이 원서 깃허브 저장소의
basic
_
rag
.
ipynb
파일에 있다. 이 시스템은 구텐베르크 프로젝트
Project
Gutenberg
의 텍스트 파일을 색인화하
고, 그 텍스트를 기반으로 질문에 대한 답변을 생성한다. 이 시스템은 모든 문서를 이미 텍스트
로 변환해 두었으며, 각 문서에서 이미지와 표
table
도 이미 추출했다고 가정한다.
PDF
문서 수집
RAG
시스템을 위해
PDF
문서를 수집
ingestion
하는 데에는 몇 가지 어려움이 따른다.
PDF
는 텍
스트뿐만 아니라 표나 이미지 등 다양한 내장 객체들이 뒤섞인 복잡한 구조를 갖는 경우가 많기
때문이다. 또한
PDF
수집 시에는 각 페이지의 머리글
header
과 바닥글
footer
같은 요소나 비선형적
레이아웃도 ...
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.