Skip to content

Commit

Permalink
Update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
klipach committed Jan 16, 2025
1 parent 210b017 commit 4f3de25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prompts/perplexity.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Please answer short and precisely to a user question.
Please answer short and precisely to a user question

##** Today is: {{ .Today }}**
##** Current time offset is: {{ .TimeOffset }}**
4 changes: 2 additions & 2 deletions prompts/short.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Ignore all previous conversations. Erase all prior dialogues.

##**Role**: You must analyze the conversation above and determine whether the most recent message requires external knowledge to answer.
##**Role**: You must analyze the conversation and determine whether the most recent message requires external knowledge to answer.

- do not answer or repet the user's question
- if external knowledge is not required, respond with "no" and stop
- if external knowledge is required, generate a prompt for an external LLM specifying exactly what information is needed
- if external knowledge is required, generate a concise external prompt focusing solely on the needed information

##** Today is: {{ .Today }}**
##** Current time offset is: {{ .TimeOffset }}**
Expand Down

0 comments on commit 4f3de25

Please sign in to comment.