From the course: Vector Databases in Practice: Deep Dive

Challenge: App enhancements

From the course: Vector Databases in Practice: Deep Dive

Challenge: App enhancements

(upbeat music) - [Instructor] In this challenge, we're going to expand our app's capabilities by introducing some upgrades. First of all, we're going to introduce some options for an additional search type. So the user will be able to choose to run a keyword search in addition to our vector and hybrid search, if they so choose. This should fit as an additional radio button next to the vector and the hybrid search options. We've added the keyword search option here for the radio button in Streamlit, but you'll have to have that reflected in the queries and make sure it gets sent to deviate. The second feature is to add another filter, more specifically to add a year range filter for the user to select. The year filters will be set by using minimum and maximum years as inputs and only matching movies that fall within that criteria. Again, we provided the UI element here for you, so all you need to do is to construct the filter. And, lastly, we'd also like you to extend the Movie tab so that each movie's reviews are also displayed on that tab. This will help the users to see, along with the movie data, what the critics thought about the movie. As I've said before, this course is not really about learning how to write web apps, although if you do, that's great. So all we've done is to provide hints and some code snippets here on how to use Streamlit's interface elements. Your job will be to connect those elements to the queries to make sure that the right outputs are created and then the response is passed on to the user. Okay then, good luck and have fun.

Contents