Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created October 13, 2025 12:01
Show Gist options
  • Select an option

  • Save gowatana/c22a70c84e06ed8bf7f12af78d858b4c to your computer and use it in GitHub Desktop.

Select an option

Save gowatana/c22a70c84e06ed8bf7f12af78d858b4c to your computer and use it in GitHub Desktop.
curl -k -s -X 'POST' 'https://10.1.7.122/api/v1/chat/completions' \
-H "Authorization: Bearer $API_KEY" \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"model": "gemma-ep-01",
"messages": [
{
"role": "user",
"content": "ごきげんよう"
}
],
"max_tokens": 256,
"stream": false
}' | jq -r .
@gowatana
Copy link
Author

下記の投稿むけ。

NAI 2.4 の推論エンドポイントを利用するデモ アプリを作成してみる。
https://blog.ntnx.jp/entry/2025/10/13/235604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment