> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superalign.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FastAPI

## Create your prediction function

Refer to [Prediction Section](../prediction/versioning) on to how to create a prediction function and add it to a version of a model

### Create FastAPI server for the model

```python theme={null}
import pureml

label = '<model_name:model_version>'

pureml.fastapi.run(label)
```
