Menu

Post image 1
Post image 2
1 / 2
0

Day 2 - RAG - What is Vector DB ?

DEV Community·Indumathi R·25 days ago
#lvYNbaka
#ai#database#llm#rag#points#point
Reading 0:00
15s threshold

To recall, Integrating our private documents with LLM is called RAG. Lets assume that, we have some pdfs containing our data. That data in the pdf will be broken down into chunks based on some criteria. That chunk will be fed as input to the model. More specifically embedding model. This model will generate a point. How the point is generated ? Lets take a simple example: Today is Wednesday Tomorrow is Thursday I am travelling today Wednesday is a nice series Lets construct a sentence now containing only unique words from the above set of sentences: Today, is, Wednesday, Tomorrow, Thursday, I, am, travelling, a, nice, series We are now going to construct each sentence into a number format. Based on unique construct sentence, lets scan each sentence, if it contains the word, we will be assigning number 1 to uniquely constructed sentence otherwise 0.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More