Crazy Wisdom
Demystifying Large Language Models: What's the Role of Vector Databases? - Eden Marco
- AI & Agents
- large language models
- vector databases
- generative ai
- semantic search
- backend development
- google cloud
About this episode
Welcome to this deep dive into the world of Large Language Models (LLMs) and vector databases for the Crazy Wisdom Podcast. Our guest today is Eden Marco (follow him on Twitter), a Customer Engineer at Google Cloud and a best-selling Udemy instructor with a passion for General Artificial Intelligence (GenAI). In this episode, we unpack the complexities and intricacies of LLMs, explore the role of vector databases, and discuss the future of autonomous agents and machine learning.
Key Discussion Points-
Vector Databases & Similarity Search: Vectors play a critical role in similarity searches, a common use case in vector databases. These databases are pivotal in developing LLMs and help in getting the right context to prompts. They are also used to truncate long pieces of text into paragraphs for vector outputs.
-
Understanding LLMs and Context: How does an LLM answer questions about things it hasn't been trained on? The answer lies in in-context learning. We delve into the main problems LLMs face in understanding context and the role of vector stores in this process.
-
LLMs and Long Term Memory: We discuss the concept of coreference resolution in LLMs, the issue of growing queries due to token limitations, and techniques to handle these challenges. Eden explains the human-like behavior of LLMs and how autonomous agents interact with other agents using memory as context.
-
Prompt Engineering & Autnomous Agents: What is sophisticated prompt engineering? It's the art of getting the LLM to do what you want. We explore autonomous agents with Langchain, the process of augmenting prompts, and the growing importance of prompt engineering.
-
Human Simulation & Machine Learning: Despite advancements, a real human simulation remains distant. We touch upon the statistical nature of machines and humans and discuss whether machine learning could be considered a parasite in the digital ecosystem.
-
Twitter API & Coding: We discuss the implications and challenges of using Twitter's API for scraping tweets, and how coding can be used to overcome limitations and navigate permissions.
-
Chroma - A Vector Database: An introduction to Chroma, a vector database that facilitates in-context learning and filtering. Eden sheds light on the competitive vector database market, the benefits of using managed servers, and the potential of combining vector databases with relational ones for enhanced utility.
-
Long Term Memory and Scaling Databases: We discuss the potential of using vector databases for long term memories, the importance of cataloging memories, and the ease of scaling databases with cloud services.
-
People to Follow: Hari Sanchez, co-founder, and creator of the Langchain framework, is a must-follow for anyone interested in long-term memory and LLMs.
-
The Gap in Machine Learning: We wrap up the discussion with insights into how the gap between machine learning programmers, data scientists, and PhDs has been bridged, and the potential future of open-source models in the face of state-of-the-art LLMs.
- Chain of Thought Paper: A resource that describes how LLMs think.
- Eden Marco's Udemy Class: A comprehensive course by Eden Marco on GenAI.
- Langchain by Hari Sanchez: A groundbreaking framework for autonomous agents.
- Eden Marco's Twitter Profile: Stay updated with Eden's latest insights and work.
Episode transcript
Welcome to the Crazy Wisdom Podcast. This podcast is for you. If you have an insane drive to find the truth of things, it's not the good answers that we seek, but the good questions. I interview a range of different guests from many different fields, all with the intention to uncover the simple truths that are hidden in plain sight. Most people don't want to go there. I go there, my guests go there and you benefit. Please let me know if you enjoy these episodes and as always, subscribe on itunes, Spotify or wherever you listen to the podcasts.
Welcome to the Crazy Wisdom Podcast. My guest today is Eden Marco. He is the customer engineer at Google Cloud, best selling Udemy instructor and a backend dev with passion for Gen AI. So welcome to the show, Eden.
Yeah, it's going great. So you wanted to mention something about how your views aren't of your employer, right?
So yeah. So basically I'm interviewing right now as Eden Marco. All the statements I'm going to mention here are my opinions. Opinions only. And I'm not speaking on behalf of my employer or represent everything. This is just me as either Marco as a person and going on a podcast.
Very excited to get into your brain because you are technical and you have a passion for these LLMs that are popping up everywhere at the speed of light. Basically just so much stuff happens every day. So I'm really excited to dig in more. Before we started recording you were talking about vector databases and I'll just give you a little bit more background. From what I understand, back when Auto GPT came out I was under the impression that they were using a vector database like Pinecone in order to give it long term memory. But you actually said that that's actually not what vector databases are for. It's therefore similarity search and that these guys are just using normal databases in order to do long term memory. Can you give a little bit more of a explanation to what's going on and maybe the problems even of giving long term memory to these agents?
Your first full transcript is free. After that, an email opens every transcript in the index — a list of readers we can write to, not a guest book.