You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search for sessions (meeting notes) using query and filters.
108
+
Use this first for open-ended questions about past meetings, people, decisions, or topics when the answer may be in meeting notes and no specific note is attached.
108
109
Use filters.created_at.kind="relative" with recent_days for natural-language date ranges.
109
110
Use an empty query string when the user only wants sessions by date/time filter.
Copy file name to clipboardExpand all lines: apps/desktop/src/chat/transport/use-transport.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,13 @@ import { useToolRegistry } from "~/contexts/tool";
13
13
import{useConfigValue}from"~/shared/config";
14
14
import*asmainfrom"~/store/tinybase/store/main";
15
15
16
-
constFILE_CONTEXT_TOOL_GUIDANCE=`
16
+
exportconstFILE_CONTEXT_TOOL_GUIDANCE=`
17
17
Context and local-note tool guidance:
18
+
- When no context is attached and the user asks a factual question that could be answered by meeting notes, use search_sessions with the key names, topics, and date hints before answering. If the result looks relevant, answer from the returned meeting context or call read_note with the returned session id for more detail.
18
19
- When the user asks about "this note", "this meeting", "the current note", or pronouns that likely refer to the open note, use read_current_note before answering.
19
-
- When the user asks to find or search for something in notes, use grep_notes. If the answer needs the full source after a match, use read_note with the returned session id.
20
+
- When the user asks to find or search for exact wording in notes, use grep_notes. If the answer needs the full source after a match, use read_note with the returned session id.
20
21
- When the user asks about people from the current note or related meetings, use list_related_notes and then read_note as needed.
22
+
- Do not ask the user to open or share a meeting note until search_sessions, grep_notes, or read_note cannot find enough local context.
21
23
- Do not assume note contents from chat history when a file-backed tool can read the current source of truth.
22
24
23
25
Web search guidance:
@@ -26,7 +28,7 @@ Web search guidance:
26
28
- Do not use web_search for questions that only need local notes, contacts, or calendar events.
0 commit comments