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
func
to_system_messageto_system_message(self, /, lang) -> SystemMessage
Convert prompts for specified language to SystemMessage.
Args: lang: Language code to retrieve prompts for
Returns: SystemMessage containing the system prompt for the language
param
selfparam
langLanguageCode
Returns
SystemMessage
Last updated on