๐๏ธ ๐ Concepts
Here is a quick overview of concepts that you will come across in this section of the lab:
๐๏ธ ๐ Import data
The MongoDB learning assistant has two tools- a vector search tool to retrieve information to answer questions about MongoDB, and another tool to get the content of articles in our Developer Center for summarization.
๐๏ธ ๐ Create a vector search index
To retrieve documents using vector search, you must configure a vector search index on the collection you want to perform vector search against.
๐๏ธ ๐ Create agent tools
The easiest way to define custom tools for agents in LangChain is using the @tool decorator. The decorator makes tools out of functions by using the function name as the tool name by default, and the function's docstring as the tool's description.