aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authoranzz1 <anzz1@live.com>2023-03-25 14:03:19 +0200
committerGitHub <noreply@github.com>2023-03-25 14:03:19 +0200
commitfbd4d38c647f82b2598291ea9b8d0c09ac1ffb8c (patch)
tree8382932943e84ef338effde93df1f87ef0549d7e /utils.h
parent58e6c9f36f97d0a3e287b97256dc5f6b0e9fb5ae (diff)
feat: '--in-prefix STRING' option (#426)
Prefix user inputs with a string
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index d469bc6..0690ef7 100644
--- a/utils.h
+++ b/utils.h
@@ -30,6 +30,7 @@ struct gpt_params {
std::string model = "models/lamma-7B/ggml-model.bin"; // model path
std::string prompt = "";
+ std::string input_prefix = ""; // string to prefix user inputs with
std::vector<std::string> antiprompt; // string upon seeing which more user input is prompted