We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79ddf16 commit 23cc5c6Copy full SHA for 23cc5c6
1 file changed
llm/client-openai-completions.sh
@@ -0,0 +1,8 @@
1
+curl -s ${LLAMA_STACK_CLIENT_BASE_URL:-http://localhost:8321}/v1/chat/completions \
2
+ -H "Content-Type: application/json" \
3
+ -H "Authorization: Bearer none" \
4
+ -d '{
5
+ "model": "'${INFERENCE_MODEL:-ollama/llama3.2:3b}'",
6
+ "messages": [ { "role": "user", "content": "Hi" } ]
7
+ }' | jq .
8
+
0 commit comments