servers
servers
This module provides functionality for creating or extending a REST-API service which allows a user to call the search methods of one or more VectorStore objects, from an API endpoint.
These functions interact with the ClassifAI Indexer module’s VectorStore objects, such that their embed, search and reverse_search methods are exposed on REST-API endpoints, via a FastAPI app.
Full API documentation for FastAPI endpoints and Pydantic Models can be found in autogenerated app Swagger docs at /docs. To do this without providing your own data, run the initial demo to make a test VectorStore with /DEMO/general_workflow_demo.ipynb then run it as a demo server at /DEMO/general_workflow_serve.py.