aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 5b3d736..4f98011 100644
--- a/utils.h
+++ b/utils.h
@@ -28,6 +28,12 @@ struct gpt_params {
std::string model = "models/lamma-7B/ggml-model.bin"; // model path
std::string prompt;
+
+ bool use_color = false; // use color to distinguish generations and inputs
+
+ bool interactive = false; // interactive mode
+ bool interactive_start = false; // reverse prompt immediately
+ std::string antiprompt = ""; // string upon seeing which more user input is prompted
};
bool gpt_params_parse(int argc, char ** argv, gpt_params & params);