LLMPromptsBundle
Multi-language bundle of LLM prompts with fallback support.
Manages prompts across different languages and provides methods to retrieve prompts with automatic fallback to default language.
Functions
functo_system_messageto_system_message(self, /, lang) -> SystemMessageConvert prompts for specified language to SystemMessage.
Args: lang: Language code to retrieve prompts for
Returns: SystemMessage containing the system prompt for the language
paramselfparamlangLanguageCodeReturns
SystemMessageLast updated on