[GH-ISSUE #6703] ollama and curl #4219

Closed
opened 2026-04-12 15:09:18 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @ayttop on GitHub (Sep 8, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6703

What is the issue?

ollama and curl

How do I make embarrassment a normal text and not Jason?

OS

Windows

GPU

Intel

CPU

Intel

Ollama version

last

Originally created by @ayttop on GitHub (Sep 8, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6703 ### What is the issue? ollama and curl How do I make embarrassment a normal text and not Jason? ### OS Windows ### GPU Intel ### CPU Intel ### Ollama version last
GiteaMirror added the questionbug labels 2026-04-12 15:09:18 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 8, 2024):

curl -s localhost:11434/api/generate -d '{"model":"qwen2:0.5b","prompt":"why is the sky blue?","stream":false}' | jq -r .response
<!-- gh-comment-id:2336814110 --> @rick-github commented on GitHub (Sep 8, 2024): ``` curl -s localhost:11434/api/generate -d '{"model":"qwen2:0.5b","prompt":"why is the sky blue?","stream":false}' | jq -r .response ```
Author
Owner

@rick-github commented on GitHub (Sep 8, 2024):

In Powershell:

(curl -method POST -usebasicparsing -uri http://localhost:11434/api/generate -body '{"model":"qwen2:0.5b","prompt":"why is the sky blue?","stream":false}' | ConvertFrom-Json).response
<!-- gh-comment-id:2336819741 --> @rick-github commented on GitHub (Sep 8, 2024): In Powershell: ``` (curl -method POST -usebasicparsing -uri http://localhost:11434/api/generate -body '{"model":"qwen2:0.5b","prompt":"why is the sky blue?","stream":false}' | ConvertFrom-Json).response ```
Author
Owner

@pdevine commented on GitHub (Sep 9, 2024):

I think this is answered, but not 100% sure what is being asked. I'll go ahead and close the issue. Ty @rick-github !

<!-- gh-comment-id:2339252984 --> @pdevine commented on GitHub (Sep 9, 2024): I think this is answered, but not 100% sure what is being asked. I'll go ahead and close the issue. Ty @rick-github !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4219