AI and LLMs · Junior · Question 59 of 75
What is the role of a vector database in RAG?
- 1Storing embeddings and finding the most similar ones fast
- 2Storing chat history as plain text files
- 3Storing the model's weights for faster loading
Show the answer
Correct answer: Storing embeddings and finding the most similar ones fast
Explanation
It runs nearest-neighbour search over many vectors. Some regular databases also support vector indexes.