고정 길이 청크 대신 단락으로 분할하거나 단락 제목을 레디스 벡터 데이터베이스의 개체 속성
으로 포함하는 등, 문서에 더 잘 맞는 능률적인 방식으로 임베딩을 구축할 수 있습니다. 이번
프로젝트를 통해
LLM
을 효과적으로 활용하는 방법을 알아봤습니다. 한편 대규모
RAG
프로젝
트는
5
장에서 소개할 랭체인을 사용하는 편이 더 적합합니다.
3.4.4
프로젝트
4
: 개인 어시스턴트
이번 프로젝트는
3
.
3
.
3
절에서 언급한 인간-컴퓨터 상호작용 능력을 활용해 질문에 답변하는
GPT
모델 기반 개인 어시스턴트를 구축합니다.
LLM
의 기능을 사용해 버튼이나 텍스트 상자
가 있는 제한된 인터페이스 대신 사용자가 무엇이든 요청할 수 있는 인터페이스를 제공하겠습
니다.
이 예시는 사용자가 자연어로 애플리케이션과 상호작용하지만, 핵심 기능으로만 구현된 프로
젝트 예시입니다. 더 복잡한 방식은
4
장과
5
장에서 다룹니다.
또한, 이 프로젝트에서는
2
장에서 언급한 오픈
AI
에서 제공하는 위스퍼 라이브러리를 사용
해 음성-텍스트 변환
speech
-
to
-
text
(
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.