experiment with predictive actions prompt
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
|
|||||||
fgets(user_input, sizeof(user_input), stdin);
|
fgets(user_input, sizeof(user_input), stdin);
|
||||||
|
|
||||||
char prompt[1000];
|
char prompt[1000];
|
||||||
snprintf(prompt, sizeof(prompt), "<|system|>You are a helpful assistant.<|end|>\n<|user|>%s<|end|>\n<|assistant|>", user_input);
|
snprintf(prompt, sizeof(prompt), "<|system|>You are a helpful assistant. Your goal is to take in what the user is doing and return 3 predictive actions/3 suggestions based on what the user is trying to do: e.g. change page title when in google sheets, or calculate sum, create chart.<|end|>\n<|user|>%s<|end|>\n<|assistant|>", user_input);
|
||||||
|
|
||||||
// number of layers to offload to the GPU
|
// number of layers to offload to the GPU
|
||||||
int ngl = 99;
|
int ngl = 99;
|
||||||
|
|||||||
Reference in New Issue
Block a user