Create Insight Generation Feature
Added integration with Messages API and Ollama
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user