trinity.explorer.api.api module#

async trinity.explorer.api.api.chat_completions(request: Request)[source]#
async trinity.explorer.api.api.show_available_models(request: Request)[source]#
async trinity.explorer.api.api.health(request: Request) Response[source]#

Health check.

async trinity.explorer.api.api.metrics(request: Request)[source]#

Get the metrics of the service.

async trinity.explorer.api.api.serve_http(app: FastAPI, host: str, port: int | None = None)[source]#
async trinity.explorer.api.api.run_app(service, listen_address: str, port: int | None = None) FastAPI[source]#