servers.make_endpoints
servers.make_endpoints(router, vector_stores_dict)Create and register the different endpoints to your app.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| router | APIRouter | FastAPI | The FastAPI application instance. | required |
| vector_stores_dict | dict[str, VectorStore] | The name of the endpoint to be created. | required |