- Refinement of the chat client to have better visible clues for user vs chatbot messages

- Introduction of interview_phase and normal phase in TRAICIE_SELECTION_SPECIALIST to make interaction with bot more human.
- More and random humanised messages to TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
Josako
2025-08-02 16:36:41 +02:00
parent 998ddf4c03
commit 9a88582fff
50 changed files with 2064 additions and 384 deletions

View File

@@ -29,4 +29,13 @@ TONE_OF_VOICE = [
"description": "Direct, efficient, pragmatic.",
"when_to_use": "Technical, logistics, blue-collar jobs, production environments"
}
]
]
def get_tone_of_voice_context(tone_of_voice: str) -> str:
selected_tone_of_voice = next(
(item for item in TONE_OF_VOICE if item["name"] == tone_of_voice),
None # fallback indien niet gevonden
)
tone_of_voice_context = f"{selected_tone_of_voice["description"]}"
return tone_of_voice_context