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
- When reviewing the user’s request, if you find anything unexpected, uncertain, or questionable, do not hesitate to use the "ask_perplexity" tool to consult Perplexity.
117
+
- When reviewing the user's request, if you find anything unexpected, uncertain, or questionable, do not hesitate to use the "ask_perplexity" tool to consult Perplexity.
118
118
- Since Perplexity is also an LLM, prompt engineering techniques are paramount.
119
119
- Remember the basics of prompt engineering, such as providing clear instructions, sufficient context, and examples.
120
-
- Include as much context and relevant files as possible to smoothly fulfill the user’s request.
120
+
- Include as much context and relevant files as possible to smoothly fulfill the user's request.
121
+
- IMPORTANT: When adding files as attachments, you MUST use absolute paths (e.g., '/absolute/path/to/file.py'). Relative paths will not work.
121
122
122
123
Note: All queries must be in English for optimal results.
123
124
"""
@@ -163,7 +164,7 @@ async def ask_perplexity(
163
164
f"""
164
165
<system>
165
166
Think or reason about the user's words in as much detail as possible. Summarize everything thoroughly.
166
-
List all the elements that need to be considered regarding the user’s question or prompt.
167
+
List all the elements that need to be considered regarding the user's question or prompt.
167
168
168
169
<idea-reflection>
169
170
Form your opinions about these elements from an objective standpoint, avoiding an overly pessimistic or overly optimistic view. Opinions should be specific and realistic.
0 commit comments