This project is an attempt to improve my understanding of vector-based retrieval and semantic modelling of text via very simple examples.
To run this project you need:
- Some familiarity with Jupyter notebooks and the Python programming language
- Access to a MongoDB Atlas cluster
I used data from these sources for my examples:
To use the notebook you will need to set up a .env
file in this directory to store the connection URL for your Atlas cluster in the MDB_URI
variable.
E.g. MDB_URI="mongodb+srv://<user>:<password>@<cluster id>.mongodb.net/<database>"
Read this tutorial for more information about connecting to MongoDB Atlas.
Create a new search index on your database using the JSON editor and the index definition included in this project.