use conundrum_lang::lang::runtime::traits::ai::ai_describable::AIDescribable;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Clone, strum_macros::Display)]
pub enum UserMood {
Curious,
Focused,
Creative,
Scattered,
Lost,
Other(String),
}
impl AIDescribable for UserMood {
fn describe_self_for_ai(&self) -> String {
match self {
Self::Curious => {
String::from("I'm curious, help me explore new topics based on my recent habits and research.")
}
Self::Focused => r#"
I'm focused, so I only want advice oriented at what's directly in front of me.
"#.to_string(),
Self::Creative => r#"
I'm curious, but I want to be a little more free-flowing. As AI that supports a generally strictly academic platform, this is your opportunity to be creative.
"#.to_string(),
Self::Scattered => r#"
I'm a little scatterd, can you help me organize? Help me by focusing on summarizing notes, re-organizing to-do lists, and organizing the tasks in front of me into a coherent plan of action..
"#.to_string(),
Self::Lost => r#"
I'm in the mood to learn something new! Help me explore new topics, but keep in mind my primary goals. Feel free to suggest new avenues of exploration, new techniques for problem solving, approaches the user hasn't yet mentioned.
"#.to_string(),
Self::Other(s) => format!("The user's current mood is {}", s),
}
}
}