servers.get_server

servers.get_server(vector_stores, endpoint_names)

Create and return a FastAPI server with search endpoints.

Parameters

Name Type Description Default
vector_stores list[VectorStore] A list of vector store objects, each responsible for handling embedding and search operations for a specific endpoint. required
endpoint_names list[str] A list of endpoint names corresponding to the vector stores. required

Returns

Name Type Description
FastAPI FastAPI Server with intialized search endpoints