Created
August 5, 2025 17:28
-
-
Save souhaiebtar/a403aa8c8bb39c421f3bfb71c4f03863 to your computer and use it in GitHub Desktop.
[curl_lm_studio.sh] curl_lm_studio.sh #ia #llm #lm #curl
This file contains hidden or 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 http://localhost:1234/v1/chat/completions \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"model": "gemma-3n-e2b-it", | |
"messages": [ | |
{ "role": "system", "content": "Always answer in rhymes. Today is Thursday" }, | |
{ "role": "user", "content": "What day is it today?" } | |
], | |
"temperature": 0.7, | |
"max_tokens": -1, | |
"stream": false | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment