Settings Architecture
Support Bot uses a versioned settings system with segment-based configuration:Segments
Settings are organized into logical segments (AI/ML, Auth, etc.) that can be updated independently.
Versioning
Every settings change creates a new version with full audit trail and rollback capability.
Append-Only
Old versions are never deleted, enabling complete change history and forensics.
Atomic Updates
Each segment update is atomic - either all changes succeed or none do.
AI/ML Configuration
Model Selection
Choose which AI model powers your Support Bot responses.Select Model
In the Model & Generation section, choose from available models.
Available models come from your configured LLM providers. Add providers first to see more options.
Set Temperature
Adjust the temperature slider (0.0 to 1.0):
- Lower (0.0-0.3) - More focused, consistent, deterministic
- Medium (0.4-0.7) - Balanced creativity and consistency
- Higher (0.8-1.0) - More creative, varied, less predictable
For support use cases, values between 0.2-0.4 work best.
User Model Selection
Toggle Let Users Choose Model to allow users to select their preferred model in chat sessions.When disabled, all users are locked to the admin-selected model.
Safety Filters
Protect your organization from inappropriate content.Configure Deny List
In the Safety & Observability section, add words to block:
- Type words separated by commas in the input field
- Click Add word
- Repeat for all words you want to filter
Observability
Enable Langfuse Tracing
Toggle Enable Langfuse Tracing to send all AI interactions to Langfuse for monitoring.
Configure Langfuse
Set up your Langfuse account and configure environment variables:
LANGFUSE_PUBLIC_KEYLANGFUSE_SECRET_KEYLANGFUSE_HOST
Langfuse provides insights into response quality, latency, token usage, and costs.
Authentication Settings
Control which authentication methods are available to users.Configure Auth Providers
Toggle Providers
In the Authentication Methods section, enable or disable:
- Basic Authentication - Email/password login
- Google Authentication - Sign in with Google
- GitHub Authentication - Sign in with GitHub
- Microsoft Authentication - Sign in with Microsoft
Provider Setup
Before enabling OAuth providers, configure them in your environment:- Google
- GitHub
- Microsoft
- Create OAuth credentials in Google Cloud Console
- Add authorized redirect URIs
- Set environment variables:
Configuration History
View and rollback to previous settings versions.View History
Review Changes
The history table shows:
- Timestamp - When the change was made
- User - Who made the change
- Change Type - Create, Update, or Rollback
- Changes - Summary of what changed
- Settings Values - Current values in that version
Rollback to Previous Version
Rollback is instantaneous - settings take effect immediately for all users.
Data Retention
Configure data retention policies to manage stored conversations and incident data.
- Conversation Archiving - Archive old conversations to reduce active database size
- Manual Deletion - Delete specific conversations or incidents through the admin interface
- Version Cleanup - Remove old dataset versions to free up storage space
API Access
All settings can be managed programmatically via API.Get Current Settings
Update Settings
View History
Rollback
Required Permissions
| Action | Permission Required |
|---|---|
| View AI/ML settings | aiml.view |
| Edit AI/ML settings | aiml.edit |
| View auth settings | auth.view |
| Edit auth settings | auth.edit |
| View history | history.view |
| Rollback settings | history.rollback |
Best Practices
Test Before Production
Test configuration changes in a staging environment before applying to production.
Document Changes
Use the rollback reason field to document why settings were changed.
Monitor Performance
After changing AI models or temperature, monitor response quality and user feedback.
Regular Reviews
Periodically review settings history to audit configuration changes.
Troubleshooting
Settings Not Saving
Permission Denied
Permission Denied
Verify you have the required permission for that settings segment (
aiml.edit, auth.edit).Validation Error
Validation Error
Check that all required fields are filled and values are in valid ranges (e.g., temperature 0-1).
Concurrent Update
Concurrent Update
Another admin may have saved changes at the same time. Refresh and try again.
Model Not Available
- Verify LLM providers are configured and active
- Check provider health status is “success”
- Try discovering models again from the provider
- Ensure the provider has a valid API key
Rollback Failed
- Verify you have
history.rollbackpermission - Check that the version ID is valid
- Ensure the version hasn’t been deleted (versions are never deleted in normal operation)
Related Documentation
LLM Providers
Configure AI model providers before selecting models.
User Management
Manage authentication and user access control.
Roles & Permissions
Configure who can modify settings.
API Reference
Programmatic settings management.