Skip to content

Commit

Permalink
update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
hahuyhoang411 committed Nov 21, 2023
1 parent 4de8456 commit e342bd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/docs/features/prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ curl http://localhost:3928/inferences/llamacpp/loadmodel \
"ctx_len": 128,
"ngl": 100,
"pre_prompt": "You are a Pirate. Using drunk language with a lot of Arr...",
"system_prompt": "ASSISTANT'S RULE: ",
"user_prompt": "USER:",
"ai_prompt": "ASSISTANT: "
}'
Expand Down
4 changes: 3 additions & 1 deletion docs/docs/new/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,6 @@ Nitro welcomes contributions in various forms, not just coding. Here are some wa
## Acknowledgements

- [drogon](https://github.com/drogonframework/drogon): The fast C++ web framework
- [llama.cpp](https://github.com/ggerganov/llama.cpp): Inference of LLaMA model in pure C/C++
- [llama.cpp](https://github.com/ggerganov/llama.cpp): Inference of LLaMA model in pure C/C++

## FAQ
4 changes: 2 additions & 2 deletions docs/docs/new/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ title: Quickstart
### For Linux and MacOS
Open your terminal and enter the following command. This will download and install Nitro on your system.
```bash
curl -sfL https://raw.githubusercontent.com/janhq/nitro/main/install.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && sudo bash /tmp/install.sh --gpu && rm /tmp/install.sh
curl -sfL https://raw.githubusercontent.com/janhq/nitro/main/install.sh | sudo /bin/bash -
```

### For Windows
Open PowerShell and execute the following command. This will perform the same actions as for Linux and MacOS but is tailored for Windows.
```bash
powershell -Command "& { Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/janhq/nitro/main/install.bat' -OutFile 'install.bat'; .\install.bat --gpu; Remove-Item -Path 'install.bat' }"
powershell -Command "& { Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/janhq/nitro/main/install.bat' -OutFile 'install.bat'; .\install.bat; Remove-Item -Path 'install.bat' }"
```

> **NOTE:**Installing Nitro will add new files and configurations to your system to enable it to run.
Expand Down

0 comments on commit e342bd6

Please sign in to comment.