A newer version of the Streamlit SDK is available:
1.53.1
MongoDB Vector Search Project
This project demonstrates how to use MongoDB with vector search capabilities in a Dockerized environment. It includes a FastAPI application that interacts with MongoDB to store and retrieve vectors.
Setup
- Clone the repository.
- Create a
.envfile with the necessary environment variables. - Run
docker-compose upto start the services.
API Endpoints
POST /vectors/: Create a new vector.GET /vectors/{vector_id}: Retrieve a vector by its ID.