From 8b8a11ab776ad62789750f4d6513bc5ec4cc609a Mon Sep 17 00:00:00 2001 From: paulbricman Date: Sat, 17 Apr 2021 19:48:37 +0300 Subject: [PATCH] Closes #39 --- .../conversational_wrapper.cpython-38.pyc | Bin 1507 -> 1548 bytes .../Dual/skeleton/conversational_wrapper.py | 2 +- vault-replica/.obsidian/workspace | 10 +++------- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/vault-replica/.obsidian/plugins/Dual/skeleton/__pycache__/conversational_wrapper.cpython-38.pyc b/vault-replica/.obsidian/plugins/Dual/skeleton/__pycache__/conversational_wrapper.cpython-38.pyc index 9f097f9b98031fc61fe29c08ca88bb0dfe16f94f..2956c6289fa1b31e123488ae19b54b7974c44347 100644 GIT binary patch delta 239 zcmaFN-NVBh%FD~e00iy=)d?3D@-i|ePv&EkVJ%B6%_*5|!8noe!{k$p_9Df8C5#K0 zQrK!37cehmSjbeAl)^rlmr0zL11{2*!a3QHNj#mahH)Vi3qvha(Y_SU6z&?P1so|n z3mL^3Y8bLu7O*3WEM!b!nZq2+05+Q!uI~m+Pc35#UkxKzA16>2syc-sm_d_&@_Hsu tr7DFujq;4jn(~aq5+IS92O^46fncnasy1!QdF8;Qd*QcS)XwtPLO7;6}^SQY^3g^VdIbC`n}N*EU~rLfm9E?{2Bu#l;!EQJHA1}KK2h7-tV zVqvIdDq5Gqk-}BOw16Xpdm*DZ1K31%WDyj7JWzf7OhqSPnrazScqh+e5@+O_yp73o Pvm!G)6C=lDP1eT%(S$mw diff --git a/vault-replica/.obsidian/plugins/Dual/skeleton/conversational_wrapper.py b/vault-replica/.obsidian/plugins/Dual/skeleton/conversational_wrapper.py index 0e7a935..591b450 100644 --- a/vault-replica/.obsidian/plugins/Dual/skeleton/conversational_wrapper.py +++ b/vault-replica/.obsidian/plugins/Dual/skeleton/conversational_wrapper.py @@ -18,7 +18,7 @@ def respond(self, query): 'input': query, 'output': self.core.copy_snapshot() } - elif '?' in query: + elif '?' in query or re.match(r'^(why|what|when|where|who|how).*', query.lower()): return { 'intent': 'OPEN_DIALOGUE', 'input': query, diff --git a/vault-replica/.obsidian/workspace b/vault-replica/.obsidian/workspace index f5d2afd..ffca172 100644 --- a/vault-replica/.obsidian/workspace +++ b/vault-replica/.obsidian/workspace @@ -7,11 +7,8 @@ "id": "d7f5c1210dfa4c88", "type": "leaf", "state": { - "type": "markdown", - "state": { - "file": "test2.md", - "mode": "preview" - } + "type": "empty", + "state": {} } } ], @@ -68,7 +65,6 @@ "state": { "type": "backlink", "state": { - "file": "test2.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -92,7 +88,7 @@ } ], "direction": "horizontal", - "width": 441 + "width": 317.1179504394531 }, "active": "d7f5c1210dfa4c88", "lastOpenFiles": [