Liman

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) -> 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

paramself
paramlangLanguageCode

Returns

SystemMessage

Last updated on

On this page