ChatBot.get_system_prompt()

Get the final constructed system prompt that will be sent to the LLM.

Usage

Source

ChatBot.get_system_prompt()

This combines preset system prompts, custom system prompts, persona descriptions, constraints from ‘avoid’ settings, and other configuration elements into the final prompt text.

Returns

str
The complete system prompt that will be used for LLM interactions

Examples

>>> bot = ChatBot().preset("technical_advisor").persona("Senior Engineer")
>>> print(bot.get_system_prompt())
"You are a senior technical advisor..."