0 Pluspunkte 0 Minuspunkte
Ich habe GPT4All installiert und Orca Mini heruntergeladen. In GPT4All habe ich den API Server aktiviert. Wie kann ich mit Curl oder etwas anderem Abfragen an den API Server senden?
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte
curl --location --header "Content-Type: application/json" --data "{\"temperature\": 0.7,\"max_tokens\": 150,\"model\": \"gpt4all-falcon-newbpe-q4_0.gguf\",\"messages\": [{\"role\": \"user\", \"content\": \"Was ist KI?\"}]}" http://localhost:4891/v1/chat/completions

von (396 Punkte)