guidance.system
- guidance.system() AbstractContextManager
Indicate the ‘system’ prompt
A convention has grown up around ‘chat’ APIs that prompts are split into three parts: system, user and assistant. This indicates the start of a ‘system’ block, which provides background information to the LLM.
>>> with system(): >>> lm += "A system prompt"