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

@@ -9,9 +9,12 @@ use crate::database::models::{
};
use crate::otel::trace_db_call;
pub mod insights_dao;
pub mod models;
pub mod schema;
pub use insights_dao::{InsightDao, SqliteInsightDao};
pub trait UserDao {
fn create_user(&mut self, user: &str, password: &str) -> Option<User>;
fn get_user(&mut self, user: &str, password: &str) -> Option<User>;