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
Copy file name to clipboardExpand all lines: assistants/document-assistant/assistant/filesystem/_prompts.py
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,3 +42,28 @@
42
42
),
43
43
type="function",
44
44
)
45
+
46
+
EDIT_TOOL_DESCRIPTION_HOSTED="""Edits the Markdown file at the provided path, focused on the given task.
47
+
The user has Markdown editor available that is side by side with this chat.
48
+
Remember that the editable files are the ones that have the `-rw-` permission bits. \
49
+
If you provide a new file path, it will be created for you and then the editor will start to edit it (from scratch). \
50
+
Name the file with capital letters and spacing like "Weekly AI Report.md" or "Email to Boss.md" since it will be directly shown to the user in that way.
51
+
Provide a task that you want it to do in the document. For example, if you want to have it expand on one section, \
52
+
you can say "expand on the section about <topic x>". The task should be at most a few sentences. \
53
+
Do not provide it any additional context outside of the task parameter. It will automatically be fetched as needed by this tool.
54
+
55
+
Args:
56
+
path: The relative path to the file.
57
+
task: The specific task that you want the document editor to do."""
58
+
59
+
EDIT_TOOL_DESCRIPTION_LOCAL="""The user has a file editor corresponding to the file type, open like VSCode, Word, PowerPoint, TeXworks (+ MiKTeX), open side by side with this chat.
60
+
Use this tool to create new files or edit existing ones.
61
+
If you provide a new file path, it will be created for you and then the editor will start to edit it (from scratch).
62
+
Name the file with capital letters and spacing like "Weekly AI Report.md" or "Email to Boss.md" since it will be directly shown to the user in that way.
63
+
Provide a task that you want it to do in the document. For example, if you want to have it expand on one section,
64
+
you can say "expand on the section about <topic x>". The task should be at most a few sentences.
65
+
Do not provide it any additional context outside of the task parameter. It will automatically be fetched as needed by this tool.
66
+
67
+
Args:
68
+
path: The relative path to the file.
69
+
task: The specific task that you want the document editor to do."""
Copy file name to clipboardExpand all lines: assistants/document-assistant/assistant/guidance/guidance_prompts.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
since there might be a lot of UI elements generated over time and we want to make sure the user can understand what it is referring to.
35
35
36
36
### Current Dynamic UI State
37
+
37
38
- The current UI schema is after the "ui_elements" key in the JSON object.
38
39
- The current selections (if any) are in the "form_data" key in the JSON object. \
39
40
Note that textboxes are indexed by their order in the list of UI elements, so the first textbox if it has data will be "textbox_0", the second "textbox_1", etc.
0 commit comments