Notes
Fri, 08 Mar 2024 07:22:15 GMT — Properties
Properties
Key | Value |
---|---|
Identifier | notes |
Name | Notes |
Type | Base Topic |
Creation timestamp | Fri, 08 Mar 2024 07:22:15 GMT |
Modification timestamp | Undefined |
This topic has no text.
Notes
Fri, 23 Aug 2024 07:55:52 GMT
RAG is conceptually simple
RAG boils down to 5 steps:
- Create a representation of all the possible information (text) you’d like to be considered for your question (info-representation)
- Create a representation of the question being asked (question-representation)
- Find the top N info-representations most similar to your question-representation
- Feed all of the information (text) from the top N representations into your LLM of choice (e.g., OpenAI GPT4o) along with the question
- And Voila! Your model will give you an answer given the context you’ve added
It could almost be called “Expand your LLM prompt with more context”.