Created
May 29, 2024 01:53
-
-
Save u1i/3a11703477a76db364896c3063081793 to your computer and use it in GitHub Desktop.
Ollama curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i http://127.0.0.1:11434/api/generate -d '{ | |
"model": "gemma:2b", | |
"prompt": "Why is the sky blue?", | |
"options": { | |
"temperature": 0.7 | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment