Create Insight Generation Feature

Added integration with Messages API and Ollama
This commit is contained in:
Cameron
2026-01-03 10:30:37 -05:00
parent 0dfec4c8c5
commit 1171f19845
18 changed files with 1365 additions and 34 deletions

View File

@@ -46,6 +46,17 @@ table! {
}
}
table! {
photo_insights (id) {
id -> Integer,
file_path -> Text,
title -> Text,
summary -> Text,
generated_at -> BigInt,
model_version -> Text,
}
}
table! {
users (id) {
id -> Integer,
@@ -56,4 +67,11 @@ table! {
joinable!(tagged_photo -> tags (tag_id));
allow_tables_to_appear_in_same_query!(favorites, image_exif, tagged_photo, tags, users,);
allow_tables_to_appear_in_same_query!(
favorites,
image_exif,
photo_insights,
tagged_photo,
tags,
users,
);