jupyterhub_ai_gateway.app module

Contents

jupyterhub_ai_gateway.app module#

Service application module.

jupyterhub_ai_gateway.app.create_app(config_path: str, enable_metrics: bool = False) FastAPI#

Create service application:

Paramaters:

config_path (str): Path to configuration file. enable_metrics (bool): Enable server metrics. Defaults to false.

Returns:

The application.

Return type:

FastAPI