From the course: Build with AI: Agentic Applications with LlamaIndex and MCP
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Building a human-in-the-loop workflow for knowledge base search and admin with LlamaIndex and Weaviate - LlamaIndex Tutorial
From the course: Build with AI: Agentic Applications with LlamaIndex and MCP
Building a human-in-the-loop workflow for knowledge base search and admin with LlamaIndex and Weaviate
We're not going to be starting with a completely clean slate for this lesson. Instead, we're going to be building up on the e-commerce agent that you already started to create previously. The idea will be to have an agent that can not only answer questions and retrieve objects this time, however, it's going to be able to also add new items to your collection. For that purpose, we're going to incorporate some human in the loop. Before adding the new item, the agent is going to confirm with you with you that you actually do want to add the item that it's about to add. So think of yourself as a clothing website administrator. You have a new set of clothing items and it's up to you to decide when they go live on the website or not. For that purpose, we have a file here called New Clothing Items. This is a generated list of clothing items and the names, and the prices, and so on. So it's going to be a very simple approach to adding new items. Instead of providing the object, you're going…