Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Closes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbricman committed Apr 17, 2021
1 parent 8dff87e commit 8b8a11a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 3 additions & 7 deletions vault-replica/.obsidian/workspace
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
"id": "d7f5c1210dfa4c88",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "test2.md",
"mode": "preview"
}
"type": "empty",
"state": {}
}
}
],
Expand Down Expand Up @@ -68,7 +65,6 @@
"state": {
"type": "backlink",
"state": {
"file": "test2.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -92,7 +88,7 @@
}
],
"direction": "horizontal",
"width": 441
"width": 317.1179504394531
},
"active": "d7f5c1210dfa4c88",
"lastOpenFiles": [
Expand Down

0 comments on commit 8b8a11a

Please sign in to comment.