Skip to content

Commit

Permalink
add more prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Dec 9, 2024
1 parent 91c9e9a commit 48b0b2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ui/dashboard_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Take note of the following instructions:
- Use short sentences and avoid long paragraphs, breakdown into bullet points for each information,
- When providing a response, consider the data provided.
- All given csv data are connected to each other, so make sure to consider all of them.
- Don't refer to the entity as "entities", refer to them as "people", "item", "foods", "vehicles", "animals", or "objects", depending on the context or operation mode.
"#;

mod imp {
Expand Down Expand Up @@ -161,7 +162,11 @@ mod imp {
csv_bytes_res_to_string("Stocks Data", stocks_csv),
];

let mut suggestions = vec!["Provide useful insights", "Predict future trends"];
let mut suggestions = vec![
"What can you do?",
"Provide useful insights",
"Predict future trends",
];
if operation_mode == OperationMode::Refrigerator {
suggestions.push("Provide Filipino recipes based on the available stocks");
}
Expand Down

0 comments on commit 48b0b2d

Please sign in to comment.