Vector Databases in RAG Applications

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

The Crucial Role of Storage in RAG Applications

Without a way to store data persistently, it gets lost after a while. Applications typically only hold data as long as they’re running. Once they stop, the data’s lost. Sometimes, data in the application’s memory can even be lost due to the underlying framework or operating system actions.

Why Databases Matter for RAGs

Databases provide effective memory storage for your app. They remember not only the retrieved data but also context from previous prompts.

Vector Databases and RAG

For LLMs, vector databases are the ideal storage solution. Vector embeddings are numerical representations designed to capture the semantic meanings of data — most commonly text, but also other data types like emojis and media.

See forum comments
Download course materials from Github
Previous: Introduction Next: Vector Dimensions & Embeddings