Improving summarization prompt.
This commit is contained in:
parent
c27ab43aaf
commit
a1f494c6ff
|
@ -76,9 +76,10 @@ func (l *LlmConnector) Summarize(text string, model string) (string, error) {
|
||||||
{
|
{
|
||||||
Role: openai.ChatMessageRoleSystem,
|
Role: openai.ChatMessageRoleSystem,
|
||||||
Content: "You're a text shortener. Give a very brief summary of the main facts " +
|
Content: "You're a text shortener. Give a very brief summary of the main facts " +
|
||||||
"point by point. Format them as a list of bullet points. " +
|
"point by point. Format them as a list of bullet points each starting with \"-\". " +
|
||||||
"Avoid any commentaries and value judgement on the matter. " +
|
"Avoid any commentaries and value judgement on the matter. " +
|
||||||
"If possible, use the same language as the original text.",
|
"If possible, respond in the same language as the original text." +
|
||||||
|
"Do not use any non-ASCII characters.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue