trinity.explorer.proxy.app module#

trinity.explorer.proxy.app.lifespan(app: FastAPI)[source]#
async trinity.explorer.proxy.app.chat_completions(request: Request)[source]#
async trinity.explorer.proxy.app.show_available_models(request: Request)[source]#
async trinity.explorer.proxy.app.health(request: Request) Response[source]#

Health check.

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

Get the metrics of the service.

async trinity.explorer.proxy.app.feedback(request: Request)[source]#

Receive feedback for the current session.

async trinity.explorer.proxy.app.commit(request: Request)[source]#

Commit the current experiences.

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