Skip to content

Commit c510911

Browse files
author
Bob Strahan
committed
feat(config): add save-as-default, import and export configuration features
1 parent 97ab1cb commit c510911

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ SPDX-License-Identifier: MIT-0
66
## [Unreleased]
77

88
### Added
9+
- **Enhanced Configuration Management**
10+
- **Save as Default**: New button to save current configuration as the new default baseline with confirmation modal and version upgrade warnings
11+
- **Export Configuration**: Export current configuration to local files in JSON or YAML format with customizable filename
12+
- **Import Configuration**: Import configuration from local JSON or YAML files with automatic format detection and validation
13+
- Enhanced Lambda resolver with deep merge functionality for proper default configuration updates
14+
- Automatic custom configuration reset when saving as default to maintain clean state
915
- **Nested Attribute Groups and Lists Support**
1016
- Enhanced document configuration schema to support complex nested attribute structures with three attribute types:
1117
- **Simple attributes**: Single-value extractions (existing behavior)

docs/configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ The web interface allows real-time configuration updates without stack redeploym
1818
- **Evaluation Methods**: Set evaluation methods and thresholds for each attribute
1919
- **Summarization**: Configure model, prompts, and parameters for document summarization (when `IsSummarizationEnabled` is true)
2020

21+
### Configuration Management Features
22+
23+
- **Save as Default**: Save your current configuration as the new default baseline. This replaces the existing default configuration and automatically clears custom overrides. **Warning**: Default configurations may be overwritten during solution upgrades - export your configuration first for backup.
24+
- **Export Configuration**: Download your current configuration to local files in JSON or YAML format with customizable filenames. Use this to backup configurations before upgrades or share configurations between environments.
25+
- **Import Configuration**: Upload configuration files from your local machine in JSON or YAML format. The system automatically detects the file format and validates the configuration before applying changes.
26+
- **Restore Default**: Reset all configuration settings back to the original default values, removing all customizations.
27+
2128
Configuration changes are validated and applied immediately, with rollback capability if issues arise. See [web-ui.md](web-ui.md) for details on using the administration interface.
2229

2330
## Stack Parameters

0 commit comments

Comments
 (0)