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