feat: Modell ergänzt keine Vornamen oder Titel aus dem Glossar
Steht „Alexander Dobrindt“ im Glossar, machte das Modell aus „Dobrind“ den vollen Namen. Der Glossar-Teil des Prompts (de/en) verlangt jetzt, nur die Schreibweise des Gesagten zu korrigieren. Läufe mit Glossar werden dadurch einmal neu berechnet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
45bf2da07b
commit
ed721b1773
1 changed files with 12 additions and 3 deletions
|
|
@ -117,6 +117,8 @@ def test_build_system_appends_terms():
|
|||
system = ak.build_system(["Kreml", "Egon Bahr"])
|
||||
assert system.startswith(ak.SYSTEM)
|
||||
assert "- Kreml\n- Egon Bahr" in system
|
||||
# The model must not complete names from the glossary
|
||||
assert "Ergänze keine Vornamen" in system
|
||||
|
||||
|
||||
SAMPLE_GLOSSARIES = [
|
||||
|
|
@ -576,6 +578,7 @@ def test_build_system_english():
|
|||
system = ak.build_system(["Mearsheimer"], "en")
|
||||
assert system.startswith(ak.SYSTEM_EN)
|
||||
assert "Glossary:" in system and "- Mearsheimer" in system
|
||||
assert "do not add first" in system
|
||||
|
||||
|
||||
def test_main_english_prompts(sample_copy, monkeypatch, capsys):
|
||||
|
|
|
|||
Loading…
Reference in a new issue