FastAPI yordamida qanday qilib FastAPI yordamida avtorizatsiya va autentifikatsiyani amalga oshirish mumkinligining soddalashtirilgan misoli: ```python fastapi import FastAPI, Depends, HTTPException fastapi.security import OAuth2PasswordBearer passlib.context import CryptContext pydantic import BaseModel import jwt import datetime app = FastAPI) # Configuration SECRET_KEY = "mysecretkey" # Replace with your own secret key ALGORITHM = "HS256" # JWT algoritmi ACCESS_TOKEN_EXPIRE_MINUTES = 30 # Access token expiration time in minutes # Password hashing pwd_context = CryptptContext = "{depends, HTTPException from fastapi.security import OAuth
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence