File size: 515 Bytes
79c28d3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# 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
1. Clone the repository.
2. Create a `.env` file with the necessary environment variables.
3. Run `docker-compose up` to start the services.
## API Endpoints
- `POST /vectors/`: Create a new vector.
- `GET /vectors/{vector_id}`: Retrieve a vector by its ID. |