diff --git a/frontend/src/views/KnowledgeView.vue b/frontend/src/views/KnowledgeView.vue index 203faad..87bf85d 100644 --- a/frontend/src/views/KnowledgeView.vue +++ b/frontend/src/views/KnowledgeView.vue @@ -27,8 +27,12 @@ interface KnowledgeItem { relationship?: string; email?: string; phone?: string; + birthday?: string; + organization?: string; address?: string; hours?: string; + website?: string; + category?: string; item_count?: number; checked_count?: number; list_items?: { text: string; checked: boolean }[]; @@ -544,11 +548,13 @@ onUnmounted(() => {
diff --git a/src/fabledassistant/services/knowledge.py b/src/fabledassistant/services/knowledge.py index 800f722..741a919 100644 --- a/src/fabledassistant/services/knowledge.py +++ b/src/fabledassistant/services/knowledge.py @@ -29,10 +29,15 @@ def _note_to_item(note: Note) -> dict: item["relationship"] = meta.get("relationship", "") item["email"] = meta.get("email", "") item["phone"] = meta.get("phone", "") + item["birthday"] = meta.get("birthday", "") + item["organization"] = meta.get("organization", "") + item["address"] = meta.get("address", "") elif note.entity_type == "place": item["address"] = meta.get("address", "") item["phone"] = meta.get("phone", "") item["hours"] = meta.get("hours", "") + item["website"] = meta.get("website", "") + item["category"] = meta.get("category", "") elif note.entity_type == "list": # Parse markdown task list syntax into structured items body = note.body or ""