Skip to content

Commit 2a15847

Browse files
Document widget disclaimer configuration options
1 parent 71d3b02 commit 2a15847

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/osa/deployment/widget.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ These fields are typically configured in the community's `config.yaml` and loade
5757
| `pageContextStorageKey` | string | `'osa-page-context-enabled'` | localStorage key for page context preference |
5858
| `pageContextLabel` | string | `'Share page URL...'` | Label text for the page context checkbox |
5959
| `fullscreen` | boolean | `false` | Open chat in fullscreen mode |
60+
| `disclaimerEnabled` | boolean | `true` | Show AI disclaimer above footer |
61+
| `disclaimerText` | string | `'This is a multi-agent AI...'` | Disclaimer message text |
62+
| `disclaimerColor` | string | `'#9a3412'` | Disclaimer text color |
63+
| `disclaimerBackground` | string | `'#fff7ed'` | Disclaimer background color |
6064
| `widgetInstructions` | string | `null` | Per-page context hint sent to the assistant (max 2000 chars) |
6165

6266
### Minimal Configuration
@@ -109,7 +113,10 @@ This is useful when the same community assistant is embedded across multiple pag
109113
widgetInstructions: 'User is on the annotation guide page.',
110114
showExperimentalBadge: false,
111115
allowPageContext: true,
112-
pageContextDefaultEnabled: true
116+
pageContextDefaultEnabled: true,
117+
disclaimerText: 'AI-powered assistant. Responses may contain errors.',
118+
disclaimerColor: '#92400e',
119+
disclaimerBackground: '#fffbeb'
113120
});
114121
</script>
115122
```

0 commit comments

Comments
 (0)