File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -48,21 +48,21 @@ llama-server \
4848
4949After running the server you can simply utilise the endpoint as below:
5050
51- ```
51+ ``` bash
5252curl 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
You can’t perform that action at this time.
0 commit comments