autointent.server.http#

FastAPI application for AutoIntent pipeline inference.

Attributes#

Classes#

Settings

Application settings loaded from environment variables.

PredictRequest

Request model for the predict endpoint.

PredictResponse

Response model for the predict endpoint.

Functions#

load_pipeline()

Load the optimized pipeline from disk.

lifespan(_)

Load pipe.

health_check()

Health check endpoint.

predict(request)

Predict class labels for the given utterances.

main()

Main entry point for the HTTP server.

Module Contents#

autointent.server.http.settings#
autointent.server.http.logger#
autointent.server.http.app#