"deepseek-r1", "prompt" => $prompt, "stream" => false )); $ch = curl_init('http://localhost:11434/api/generate'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); $response = curl_exec($ch); curl_close($ch); $data = json_decode($response, true); $antwort = isset($data['response']) ? $data['response'] : 'Fehler bei DeepSeek'; echo "
" . htmlspecialchars($antwort) . "";