Siz @app.get("/") ilovadan foydalanishingiz mumkin va keyin siz oxirgi nuqta qanday bo'lishini xohlayotganingizni ko'rsating. Masalan: fastapi import FastAPI fastapi.responses import HTMLResponse app = FastAPI() @app.get("/") def hello_world: content = "<h1>Salom, Dunyo!</h1>" HTMLResponse ((content=content) @app.get("/endpoint2") def endpoint2(): content = "<h1>Qarhan kelibsiz Endpoint 2</h1>" HTMLResponse ((content=content) ni qaytaring. Ilovani davom ettirish uchun siz xohlagancha ko'p qo'shishingiz mumkin.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence