Skip to content

Ollama and Open-WebUI queries


curl https://ai.newatlantis.top/ollama/api/generate \
--location --insecure --request POST \
--header 'Authorization: Bearer sk-ENTROPY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "mistral:7b",
  "prompt": "Why is the sky blue?",
  "stream": false
}'


curl http://192.168.7.209:11435/api/generate \
--location --insecure --request POST \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "mistral:7b",
  "prompt": "Why is the sky blue?",
  "stream": false
}'

curl http://10.66.66.14:11434/api/generate \
--location --insecure --request POST \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "mistral:7b",
  "prompt": "Why is the sky blue?",
  "stream": false
}'


curl https://ollama.newatlantis.top/api/generate \
--location --insecure --request POST \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "mistral:7b",
  "prompt": "Why is the sky blue?",
  "stream": false
}'

Completion

Embeddings