SuperAlign Docs home page
Search...
⌘K
Sign in
Sign in
Search...
Navigation
Packages
FastAPI
Documentation
SDK Reference
Tutorials
API Reference
Changelog
Book a Demo
Getting Started
Welcome
Installation
Authentication
Core Concepts
Create dataset
Register model
Prediction
Versioning
Input and Output Types
Policies
Generate risk
Apply policy
Documents
Questionaire
Forms
Generate report
Gen AI
Dataset for Large Language Models
Model register
Generate risk
Resources
SuperAlign Supported Policies
Packages
Docker
FastAPI
Streamlit
On this page
Create your prediction function
Create FastAPI server for the model
Packages
FastAPI
Create your prediction function
Refer to
Prediction Section
on to how to create a prediction function and add it to a version of a model
Create FastAPI server for the model
Copy
import
pureml
label
=
'<model_name:model_version>'
pureml.fastapi.run(label)
Docker
Streamlit
Assistant
Responses are generated using AI and may contain mistakes.