Bu yerda foydalanuvchi tomonidan kiritilgan ma'lumotlarni qabul qiladigan, API-ni chaqiradigan va natijani HTMLda ko'rsatadigan React ilovasining misoli keltirilgan: import React, { useState }'react'; import axios from 'axios'; function App() { const [inputValue, setInputValue] = useState('); const [result, setResult] = useState('); handle constInputChange = (event) => set {InputValue(event.target.value); }; handle constButtonClick = async () => { { response = await axios.get(https://example-api.com/{inputValue`}); setResult.data); } (error) {console.divdiv); }; return { {in
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence