Make prompt randomization optional. (#300)

Co-authored-by: Johnman <>
This commit is contained in:
tjohnman 2023-03-19 19:36:19 +01:00 committed by GitHub
parent 368d0c8a9e
commit ad5fd5b60c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -32,6 +32,8 @@ struct gpt_params {
std::string prompt = "";
std::string antiprompt = ""; // string upon seeing which more user input is prompted
bool random_prompt = false;
bool use_color = false; // use color to distinguish generations and inputs
bool interactive = false; // interactive mode