Model configuration and small prompt improvements #24
|
@ -76,9 +76,10 @@ func (l *LlmConnector) Summarize(text string, model string) (string, error) {
|
|||
{
|
||||
Role: openai.ChatMessageRoleSystem,
|
||||
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. " +
|
||||
"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