Managing Constitutions
OWL provides tools to manage constitutions that can be used to control LLMs.
OWL constitutions apply in addition to any constitution that governs the underlying LLM (e.g. Claude's Constitution created by Anthropic, which pioneered the idea of constitutional AI).
Constitutions are managed using the Manage Constitutions button on the Workbench, which takes you to the My Constitutions page. The available constitutions include a simple default.
Building a Constitution
You can build a constitution by clicking + New Constitution on the My Constitutions page.
After providing a name for the constitution and clicking Continue to Builder, you can provide the following content for the constitution (all of which is optional):
-
Identity – a brief description of the AI's persona and purpose
-
Core Values – the core of the constitution
Values are selected from a 4-level tree structure holding the values from Anthropic's values-in-the-wild dataset (we will later enable fully customizable values).
By expanding the tree, you can choose values from the bottom two levels of the tree (but not the top two levels, because these include too many different values). Individual values at the bottom level can be selected using the + Add button next to the value, or the + Add All button one level up can be used to select all the bottom level values below it.
Once a value is selected, you can provide additional explanation of how the value should be applied by clicking > next to the value in the right-hand column. You can also remove the value by clicking Remove.
-
Prohibited Behaviors – things that the AI should never do
-
Output Style – tone, format, writing style, etc.
Other Constitution Functions
You can access other constitution functions using the "three dots" menu in a constitution's tile on the My Constitutions page:
| Selection | Function |
|---|---|
| Set Active | Make this constitution the default on the workbench |
| Rename | Rename the constitution |
| Open Builder | Edit the constitution |
| View XML | View or download the text of the constitution in eXtensible Markup Language (XML), which is used to pass the constitution to an LLM |
| Workbench | Use this constitution in the workbench |
| Delete | Delete the constitution |