Add the ability to rate insights to curate training data

This commit is contained in:
Cameron
2026-04-13 09:23:40 -04:00
parent da16fddce3
commit c703a47f17
7 changed files with 204 additions and 7 deletions

View File

@@ -86,6 +86,7 @@ pub struct InsertPhotoInsight {
pub generated_at: i64,
pub model_version: String,
pub is_current: bool,
pub training_messages: Option<String>,
}
#[derive(Serialize, Queryable, Clone, Debug)]
@@ -97,6 +98,8 @@ pub struct PhotoInsight {
pub generated_at: i64,
pub model_version: String,
pub is_current: bool,
pub training_messages: Option<String>,
pub approved: Option<bool>,
}
// --- Knowledge memory models ---