Skip to content

Commit 7c6de8a

Browse files
authored
small tweaks to gguf-llamacpp.md
adding `bash` to improve syntax coloring, cc @Vaibhavs10
1 parent e2f75b2 commit 7c6de8a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/hub/gguf-llamacpp.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ llama-server \
4848

4949
After running the server you can simply utilise the endpoint as below:
5050

51-
```
51+
```bash
5252
curl http://localhost:8080/v1/chat/completions \
5353
-H "Content-Type: application/json" \
5454
-H "Authorization: Bearer no-key" \
5555
-d '{
5656
"messages": [
57-
{
58-
"role": "system",
59-
"content": "You are an AI assistant. Your top priority is achieving user fulfilment via helping them with their requests."
60-
},
61-
{
62-
"role": "user",
63-
"content": "Write a limerick about Python exceptions"
64-
}
65-
]
57+
{
58+
"role": "system",
59+
"content": "You are an AI assistant. Your top priority is achieving user fulfilment via helping them with their requests."
60+
},
61+
{
62+
"role": "user",
63+
"content": "Write a limerick about Python exceptions"
64+
}
65+
]
6666
}'
6767
```
6868

0 commit comments

Comments
 (0)