mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 03:44:35 +00:00
fix json format README
This commit is contained in:
parent
eb75395b5c
commit
afc09db51c
@ -48,16 +48,9 @@ The above command will start a server that by default listens on `127.0.0.1:8080
|
|||||||
*Example request:*
|
*Example request:*
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
// this changes the system prompt on runtime
|
"system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nHuman: Hello\nAssistant: Hi, how may I help you?\nHuman:",
|
||||||
"system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
|
|
||||||
|
|
||||||
Human: Hello
|
|
||||||
Assistant: Hi, how may I help you?
|
|
||||||
Human:",
|
|
||||||
"anti_prompt": "Human:",
|
"anti_prompt": "Human:",
|
||||||
"assistant_name": "Assistant:",
|
"assistant_name": "Assistant:",
|
||||||
|
|
||||||
// required options
|
|
||||||
"prompt": "When is the day of independency of US?",
|
"prompt": "When is the day of independency of US?",
|
||||||
"temperature": 0.2
|
"temperature": 0.2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user