From the course: Level up LLM applications development with LangChain and OpenAI

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Challenge: Deploy a RESTful API

Challenge: Deploy a RESTful API

(upbeat music) - [Instructor] So we have just created a runnable right here that you should actually put, I think we could actually, let me put that here because I had created a space just for that, so let me update it. And I'm going to update here. So it is less verbose, so it's more concise. All right. And so now the challenge for you will be to also create and deploy a runnable. And we're going to use the example that we have used to interact with a NoSQL database with vector search index. So we're going to use the same implementation here. And basically, we just need to access the retrieval chain. And so remember for the next project that you need to also provide with credentials. So that should be from the previous example. So your OpenAI API key, of course, but also your credentials. So like the Atlas connection string, the name of the database, and collection name so you can connect to the NoSQL database on MongoDB Atlas in order to perform search queries using the vector…

Contents