RAG From Scratch : Part 10 to 11

whybe-choi·2024년 4월 26일
1

RAG From Scratch

목록 보기
3/3
post-thumbnail

[Part 10] Routing

  • RoutingQuery Translation의 다음 단계로서, query의 내용에 따라 vectorstore, 관계형 DB, 그래프 DB 등 query에 맞는 데이터 소스에 query를 전달하는 것이다.

  • Logical Routing은 LLM에게 사용할 수 있는 다야한 데이터 소스에 대한 지식을 제공한다.

  • Semantic Routing은 query를 embedding하고 여러 prompt를 동일하게 embedding한 후 query와 유사한 prompt를 사용하는 방식이다.

(내용 보충 예정)


0개의 댓글