RAG From Scratch: Query Structuring
Our RAG From Scratch video series walks through impt RAG concepts in short / focused videos w/ code.
This is the 11th video in our series and focuses on query structuring.
🔧 Problem: We interact w/ databases using domain-specific languages (e.g., SQL, Cypher for Relational and Graph DBs). And, many vectorstores have metadata that can allow for structured queries to filter chunks. But RAG systems ingest questions in natural language.
💡 Idea: A great deal of work has focused on query structuring, the process of text-to-<DSL> where DSL is a domain specific language required to interact with a given database. This converts user questions into structured queries. Below are links that dive into text-to-SQL/Cypher, and the below video overviews query structuring for vectorstores using function calling.
📽️ Video:
https://t.co/QcreSMm60W
💻 Code:
https://t.co/sglvEoOjx9
🧠 References:
1/ Blog with links to various tutorials and templates:
https://t.co/Vw5Zb4HDFu
2/ Deep dive on graphDBs (c/o @neo4j):
https://t.co/0e4NYimlOd
3/ Query structuring docs:
https://t.co/vBHVd1QDi5
4/ Self-query retriever docs:
https://t.co/1SjgOHAFM3
Love it 👏 - much fertile soil for indie games populated with AutoGPTs, puts "Open World" to shame. Simulates a society with agents, emergent social dynamics.
Paper: https://t.co/I07IJwweHE
Demo: https://t.co/pYNF4BBveG
Authors: @joon_s_pk@msbernst@percyliang@merrierm et al.
Use these 3 AI websites:
1/ https://t.co/RaE0W4KLvp
It takes automatic notes in virtual meetings.
2/ https://t.co/bE96kozdjE
Create high-quality content using AI in seconds.
3/ https://t.co/EOSmxYF2Vo
Krisp’s AI removes background voices, noises and echo.