๐๏ธ ๐ Concepts
Here is a quick overview of concepts that you will come across in this section of the lab:
๐๏ธ ๐ Running Jupyter Notebooks in Sagemaker Studio
Jupyter Notebooks is an interactive Python environment. Cells in a Jupyter notebook are a modular unit of code or text that you can execute and view outputs for.
๐๏ธ ๐ Get your connection string
In order to ingest data into your cluster later in the lab, you will need to get the connection string for your cluster.
๐๏ธ ๐ 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.