Build a RAG chatbot with SurrealDB, Python & Streamlit

SurrealDB
1,729 views August 29, 2025

👉 In this step-by-step tutorial, we’ll cover how to build your own RAG chatbot with SurrealDB, Python, and Streamlit. By the end, you’ll have a fully working RAG chatbot you can customize and deploy. Chapters 00:00 - Intro 00:28 - Creating and deploying a SurrealDB Cloud instance 01:45 - Connecting to your database 02:19 - Python code walkthrough in VS Code 09:46 - Streamlit code walkthrough in VS Code 14:31 - RAG chatbot UI in action --- Resources --- ☁️ Start free on Surreal Cloud: https://surrealdb.com/cloud 🎓 SurrealDB University: https://surrealdb.com/learn 📚 Docs: https://surrealdb.com/docs 🎩 Surrealist (GUI): https://surrealdb.com/surrealist ⭐️ GitHub: https://github.com/surrealdb/surrealdb --- What is SurrealDB? --- SurrealDB is an AI-native, multi-model database built in Rust that unifies document, graph, time-series, relational, geospatial and key-value data models into a single engine. Combined with powerful search and retrieval (vector, full-text, hybrid), real-time and event-driven capabilities, and Spectron - its persistent memory layer for AI agents - SurrealDB provides the complete context layer so that models run next to the data, context remains synchronised, and application logic stays simple and dependable. --- Connect --- 🐦 Twitter: https://twitter.com/surrealdb 👩‍💻 LinkedIn: https://www.linkedin.com/company/surrealdb/ 💬 Discord: https://discord.com/invite/surrealdb 🛍️ Merch: https://surrealdb.store/

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close