Skip to content

Commit d0f0aab

Browse files
paullizerSteveCInVASteve CarrollaaronbaXeelee33
authored
Agents and actions modal updates (#413)
* Development (#409) * Documentation: Refactor (#406) * Add new images and documentation for Simple Chat setup and infrastructure - Added various images for UI and functionality demonstrations. - Created 'infrastructure_as_code.md' for infrastructure setup guidance. - Added 'setup_instructions.md' detailing deployment options and instructions. - Introduced 'setup_instructions_special.md' for special deployment scenarios including Azure Government configurations and Managed Identity usage. - Updated documentation to enhance clarity and usability for developers. * Update README setup instructions and remove obsolete infrastructure documentation * Fix TOC anchors: README and application_workflows.md --------- Co-authored-by: Steve Carroll <Stephen.Carroll@microsoft.com> * Improvements to Terraform deployment process (#400) * Delete logfile.log * Removed external these are pending release and will show up in next version. * Update route_external_health.py * Adding health check * Added health check feature * updating app.py, removed external * Updated to v0.215.36 * Update app.py * v0.215.37 * v0.215.37 * Update app.py (#359) * Update app.py Super tactical fix to allow ChainGuard container to start * updated to v0.215.38 --------- Co-authored-by: Paul Lizer <paullizer@microsoft.com> * Update README.md * Refactor devcontainer.json to update feature sources and enhance VS Code customizations * Added powershell script to configure Base dependencies. * remove tfvars files from solution * fix: set authentication requirements for app * fix: redirect to correct auth provider * fix: add alternate auth endpoint * fix: corrected image name in app * fix: use managed identity for image retrevial * fix: upate app docker registry server to dynamic config * Documentation updates for deployment with Terraform * removed unused variable from powershell script. * fix: enable shared access key for Azure Storage Account --------- Co-authored-by: Paul Lizer <paullizer@microsoft.com> Co-authored-by: Paul Lizer <paul.lizer@live.com> Co-authored-by: Aaron Barth <aaronba@users.noreply.github.com> Co-authored-by: Steve Carroll <Stephen.Carroll@microsoft.com> * Bugfix/govcloud document intelligence, ai search, content safety managed identity authentication (#388) * Add support for govt and custom search resource manager, update document intelligence, ai search, and content safety client initialization for govt and custom environments * Fix Azure Document Intelligence operation via managed identity authentication for government and custom environments by adding base64 encoding support for document uploads, which is required by current GA document intelligence API version (2024-11-30) * Fix Azure AI services (content safety, document intelligence, search) managed identity integration for government and custom environments. Consolidated Document Intelligence calls to use same module and API and added base64 document uploads in Document Intelligence API, required by most current API GA version (2024-11-30). * Update README.md to correct Managed Identity role requirements for Azure services * Add support for govt and custom search resource manager, update document intelligence, ai search, and content safety client initialization for govt and custom environments * Fix Azure Document Intelligence operation via managed identity authentication for government and custom environments by adding base64 encoding support for document uploads, which is required by current GA document intelligence API version (2024-11-30) * Fix Azure AI services (content safety, document intelligence, search) managed identity integration for government and custom environments. Consolidated Document Intelligence calls to use same module and API and added base64 document uploads in Document Intelligence API, required by most current API GA version (2024-11-30). * Update README.md to correct Managed Identity role requirements for Azure services * added search_client_public to managed identity auth flow --------- Co-authored-by: Joshua Wilshere <joshua.wilshere@oig.dhs.gov> Co-authored-by: Paul Lizer <paullizer@microsoft.com> * Feature/code highlighting (#363) * Delete logfile.log * Removed external these are pending release and will show up in next version. * Update route_external_health.py * Adding health check * Added health check feature * updating app.py, removed external * Updated to v0.215.36 * Update app.py * v0.215.37 * v0.215.37 * Update app.py (#359) * Update app.py Super tactical fix to allow ChainGuard container to start * updated to v0.215.38 --------- Co-authored-by: Paul Lizer <paullizer@microsoft.com> * Update README.md * Feature - added code highlighting in code blocks returned by the GPT model using Prism (www.prismjs.com) with themes for light and dark mode. Also made adjustments to <pre> and <pre><code> css to try and prevent double scrolls bars when code blocks overflow available space in chat box. --------- Co-authored-by: Paul Lizer <paullizer@microsoft.com> Co-authored-by: Paul Lizer <paul.lizer@live.com> Co-authored-by: Aaron Barth <aaronba@users.noreply.github.com> * Bugfix - MAG Video Indexer API & Tweak to Speech Service Defaults (#344) * Delete logfile.log * Removed external these are pending release and will show up in next version. * Update route_external_health.py * Adding health check * Added health check feature * updating app.py, removed external * Updated to v0.215.36 * Update app.py * v0.215.37 * v0.215.37 * updated so video indexer api default changes based on public/government cloud and is not read-only in the admin settings, removed hardcoded commercial speech_service_endpoint and speech_service_location * added placeholder for speech_service_endpoint to show default endpoint format based on location and cloud type * added reminders to save pending changes before fetching GPT models in admin settings * Added process to delete videos from VI service when deleted from front end/blob/cosmos. Includes adding the file's video indexer ID to the file metadata in cosmos. * Added unmerged files from Development branch --------- Co-authored-by: Paul Lizer <paullizer@microsoft.com> Co-authored-by: Paul Lizer <paul.lizer@live.com> --------- Co-authored-by: SteveCInVA <37545884+SteveCInVA@users.noreply.github.com> Co-authored-by: Steve Carroll <Stephen.Carroll@microsoft.com> Co-authored-by: Aaron Barth <aaronba@users.noreply.github.com> Co-authored-by: Xeelee33 <Xeelee33@users.noreply.github.com> Co-authored-by: Joshua Wilshere <joshua.wilshere@oig.dhs.gov> * Improved New Action workflow * fixed global agent / action loading bug * Fixed upload bug * Fixed file upload bug and tabular data in chat * Adding fix markdowns, functional tests, bug fix for tabular data in convos --------- Co-authored-by: SteveCInVA <37545884+SteveCInVA@users.noreply.github.com> Co-authored-by: Steve Carroll <Stephen.Carroll@microsoft.com> Co-authored-by: Aaron Barth <aaronba@users.noreply.github.com> Co-authored-by: Xeelee33 <Xeelee33@users.noreply.github.com> Co-authored-by: Joshua Wilshere <joshua.wilshere@oig.dhs.gov>
1 parent df0c492 commit d0f0aab

File tree

57 files changed

+4266
-402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4266
-402
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
applyTo: '**'
3+
---
4+
5+
# Version Management for Functional Tests and Documentation
6+
7+
## Required Version Inclusion
8+
9+
When creating functional tests and documentation for fixes or features, always include the current version from `config.py`:
10+
11+
### 1. Functional Test Files
12+
All functional test files must include a comment header with:
13+
- Current version from `app.config['VERSION']` in `config.py`
14+
- Brief description of what the test validates
15+
- Version when the fix/feature was implemented
16+
17+
Example format:
18+
```python
19+
#!/usr/bin/env python3
20+
"""
21+
Functional test for [feature/fix name].
22+
Version: [current version from config.py]
23+
Implemented in: [version when fix/feature was added]
24+
25+
This test ensures that [description of what is being tested].
26+
"""
27+
```
28+
29+
### 2. Documentation Files
30+
All fix and feature documentation must include:
31+
- Version number in the document title or metadata
32+
- "Fixed/Implemented in version: **X.X.X**" section
33+
- Reference to related config.py version updates
34+
35+
### 3. Version Update Process
36+
When implementing fixes or features:
37+
1. Update the version in `config.py`: `app.config['VERSION'] = "X.X.X"`
38+
2. Include this version in functional test file headers
39+
3. Include this version in documentation markdown files
40+
4. Ensure consistency across all related files
41+
42+
### 4. Version Tracking Benefits
43+
- Clear traceability of when fixes/features were implemented
44+
- Easy identification of test coverage for specific versions
45+
- Simplified debugging and rollback procedures
46+
- Better release documentation and change tracking
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
applyTo: '**'
3+
---
4+
5+
# Feature Documentation Location
6+
7+
## Documentation Directory
8+
All new feature documentation should be placed in:
9+
```
10+
..\docs\features\
11+
```
12+
13+
## File Naming Convention
14+
Use descriptive, uppercase names with underscores:
15+
- `[FEATURE_NAME].md`
16+
- Example: `AGENT_ORCHESTRATION.md`
17+
- Example: `FILE_UPLOAD_SYSTEM.md`
18+
19+
## Required Documentation Structure
20+
Each feature documentation file must include:
21+
22+
### 1. Header Information
23+
- Feature title
24+
- Overview and purpose
25+
- Version implemented
26+
- Dependencies
27+
28+
### 2. Technical Specifications
29+
- Architecture overview
30+
- API endpoints (if applicable)
31+
- Configuration options
32+
- File structure
33+
34+
### 3. Usage Instructions
35+
- How to enable/configure
36+
- User workflows
37+
- Examples and screenshots
38+
- Integration points
39+
40+
### 4. Testing and Validation
41+
- Test coverage
42+
- Performance considerations
43+
- Known limitations
44+
45+
## Integration Process
46+
When documenting a new feature:
47+
1. Create markdown file in `..\docs\features\`
48+
2. Include current config.py version
49+
3. Reference related functional tests
50+
4. Link to any fix documentation if the feature required bug fixes
51+
52+
## Cross-References
53+
Feature documentation may reference:
54+
- Related fix documentation in `..\docs\fixes\`
55+
- Functional test files in `functional_tests\`
56+
- Configuration changes in `config.py`
57+
- Other features in `..\docs\features\`
58+
59+
## Maintenance
60+
Keep feature documentation updated when:
61+
- Feature capabilities are enhanced
62+
- Configuration options change
63+
- Integration methods are modified
64+
- Related fixes impact feature behavior
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
applyTo: '**'
3+
---
4+
5+
# Fix Documentation Location
6+
7+
## Documentation Directory
8+
All bug fixes and issue resolution documentation should be placed in:
9+
```
10+
..\docs\fixes\
11+
```
12+
13+
## File Naming Convention
14+
Use descriptive, uppercase names with underscores:
15+
- `[ISSUE_NAME]_FIX.md`
16+
- Example: `TABULAR_DATA_CSV_STORAGE_FIX.md`
17+
- Example: `CSV_COLUMN_CONSISTENCY_FIX.md`
18+
19+
## Required Documentation Structure
20+
Each fix documentation file must include:
21+
22+
### 1. Header Information
23+
- Fix title
24+
- Issue description
25+
- Root cause analysis
26+
- Version implemented
27+
28+
### 2. Technical Details
29+
- Files modified
30+
- Code changes summary
31+
- Testing approach
32+
- Impact analysis
33+
34+
### 3. Validation
35+
- Test results
36+
- Before/after comparison
37+
- User experience improvements
38+
39+
## Integration Process
40+
When documenting a fix:
41+
1. Create markdown file in `..\docs\fixes\`
42+
2. Include current config.py version
43+
3. Reference related functional tests
44+
4. Update any relevant feature documentation if the fix affects existing features
45+
46+
## Cross-References
47+
Fix documentation may reference:
48+
- Related feature documentation in `..\docs\features\`
49+
- Functional test files in `functional_tests\`
50+
- Configuration changes in `config.py`

AGENT_CITATIONS_BUG_FIX.md

Whitespace-only changes.

application/single_app/app.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
from route_migration import bp_migration
5353
from route_plugin_logging import bpl as plugin_logging_bp
5454

55-
from route_external_public_documents import *
56-
5755
app.register_blueprint(admin_plugins_bp)
5856
app.register_blueprint(dynamic_plugins_bp)
5957
app.register_blueprint(admin_agents_bp)
@@ -71,8 +69,6 @@
7169
from functions_authentication import get_current_user_id
7270

7371
from route_external_health import *
74-
from route_external_public_documents import *
75-
7672

7773
configure_azure_monitor()
7874

@@ -403,10 +399,6 @@ def list_semantic_kernel_plugins():
403399
# ------------------- Extenral Health Routes ----------
404400
register_route_external_health(app)
405401

406-
# ------------------- Extenral Public Documents Routes ----------
407-
register_route_external_public_documents(app)
408-
409-
410402
if __name__ == '__main__':
411403
settings = get_settings()
412404
initialize_clients(settings)

application/single_app/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
executor = Executor()
9292
executor.init_app(app)
9393
app.config['SESSION_TYPE'] = 'filesystem'
94-
app.config['VERSION'] = "0.226.089"
94+
app.config['VERSION'] = "0.226.102"
9595

9696

9797
Session(app)

application/single_app/example.env

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)