You can use the @app.get("/") within the application and then just specify what you would like the endpoint to be. For example:

from fastapi import FastAPI
from fastapi.responses import HTMLResponse

app = FastAPI()

@app.get("/")
def hello_world():
    content = "<h1>Hello, World!</h1>"
    return HTMLResponse(content=content)

@app.get("/endpoint2")
def endpoint2():
    content = "<h1>Welcome to Endpoint 2</h1>"
    return HTMLResponse(content=content)

You can add as many as you would like to keep the application going.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence