Now with basic AI summary for Journal Entries

This commit is contained in:
Scott Idem
2025-09-11 18:41:16 -04:00
parent bbf9411213
commit b78cb8eac2
4 changed files with 280 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ let journals_local_data_struct: key_val = {
],
},
entry: {
ai__system_prompt: 'Summarize the following journal entry content in a concise manner, focusing on key points and insights.', // 'You are a helpful assistant that helps people find information.',
edit: false,
edit_kv: {},
},
@@ -94,6 +95,8 @@ let journals_session_data_struct: key_val = {
tmp_obj: {},
},
entry: {
show__ai_summary: false,
ai_summary: '',
decrypt_kv: {}, // Essentially flag that the entry (content and history) can be decrypted.
edit: false,
edit_kv: {},