Skip to main content
Shape how advisors respond by overriding the system_message sent to them. This turns a general-purpose advisor into a domain-specific reviewer.
custom_system_message.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as custom_system_message.py, then run:
Full source: cookbook/91_tools/advisor_tools/04_custom_system_message.py