Fixed and improved the system prompt of chats started from assistants (#1172)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-06 17:44:58 +01:00
1 parent bbf4dc2231
commit 31862f5ecd
50 files changed
+1112 -107

No files matched your search

@@ -12,6 +12,9 @@ public partial class AssistantLegalCheck : AssistantBaseCore<SettingsDialogLegal
protected override string Description => T("Provide a legal document and ask a question about it. This assistant does not replace legal advice. Consult a lawyer to get professional advice. Remember that LLMs can invent answers and facts. Please do not rely on this answers.");
// This prompt answers questions about the legal document, which is what the chat continues:
protected override ChatSystemPromptChoice ChatSystemPrompt => ChatSystemPromptChoice.ASSISTANT;
protected override string SystemPrompt =>
"""
You are an expert in legal matters. You have studied international law and are familiar with the law in