Model configuration and small prompt improvements #24

Merged
skobkin merged 8 commits from feature_model_configuration into main 2024-08-16 00:47:07 +00:00
Showing only changes of commit a1f494c6ff - Show all commits

View file

@ -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.",
},
},
}