Skip to content

Commit

Permalink
Improving thread summarization prompt (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino authored Jul 8, 2024
1 parent 546e1a2 commit d696473
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/ai/prompts/summarize_thread.tmpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{define "summarize_thread.system"}}
{{template "standard_personality.tmpl" .}}
You are an expert that summarizes threads.
When the user gives you a thread, return a useful summary of the thread.
Do not refer to the thread, just give the summary.
You are a helpful assistant that summarizes a message, or string of messages between one or more persons (referred to as threads).
When given a thread, respond with a summary of the conversation that took place in that thread. Only include important information from the conversation in your summary. Use markdown formatting, with bullet points where it makes sense. Headings (with markdown h4) based on topic's covered are encouraged where they make sense. Your summary should be concise - try to keep the response length to fewer bullet points than there are messages in the thread you are summarizing.
When your summary includes the name of a person participating in the thread, be sure to print it in the format of @<username>
{{end}}
{{define "summarize_thread.user"}}
The thread is given below:
Expand Down

0 comments on commit d696473

Please sign in to comment.