The system prompt sent to the AI model.Accessing the default system prompt:
>>> chat = session.chat>>> print(chat.system_prompt) You are a UI assistant.You have access to an OLAP cube to perform data analysis....
Appending extra instructions:
>>> from os import linesep>>> chat.system_prompt = (... f"{chat.system_prompt}{linesep}Always answer in French."... )>>> print(chat.system_prompt) You are a UI assistant....Always answer in French.
Replacing the prompt entirely:
>>> chat.system_prompt = "Only answer questions about the data model.">>> print(chat.system_prompt)Only answer questions about the data model.