From e342bd629449697e730f22ba0c45ea30c3872dce Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Tue, 21 Nov 2023 14:07:01 +0700 Subject: [PATCH] update prompt --- docs/docs/features/prompt.md | 1 + docs/docs/new/about.md | 4 +++- docs/docs/new/quickstart.md | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/docs/features/prompt.md b/docs/docs/features/prompt.md index bf2a07d3c..d2de647af 100644 --- a/docs/docs/features/prompt.md +++ b/docs/docs/features/prompt.md @@ -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: " }' diff --git a/docs/docs/new/about.md b/docs/docs/new/about.md index 634bf9abb..4545a4c1b 100644 --- a/docs/docs/new/about.md +++ b/docs/docs/new/about.md @@ -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++ \ No newline at end of file +- [llama.cpp](https://github.com/ggerganov/llama.cpp): Inference of LLaMA model in pure C/C++ + +## FAQ diff --git a/docs/docs/new/quickstart.md b/docs/docs/new/quickstart.md index b1bee8cac..d4d777953 100644 --- a/docs/docs/new/quickstart.md +++ b/docs/docs/new/quickstart.md @@ -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.