Skip to content

Conversation

@saisushaman
Copy link

Teams & Copilot Agent Refresh :

  • Teams app manifest with SSO/OBO authentication
  • Bot Framework handlers (Teams, Copilot)
  • Adaptive Cards for responses
  • Deployment automation scripts

Web Search Integration :

  • Serper client with normalization
  • Redis caching with in-memory fallback
  • Integrated with RAG pipeline and URL deduplication

RAG Enhancements :

  • Embedding router (Baseline/PatentSBERTa/NOMIC) with content-based routing
  • NOMIC embeddings (API/SDK modes)
  • DeepSeek OCR for ingestion and runtime uploads
  • Direct Azure Blob Storage ingestion

Citations & Provenance :

  • Unified citation schema (corpus + web)
  • URL-based deduplication and conflict resolution
  • Teams/web rendering support

Security & Observability

  • Key Vault integration for secrets
  • Basic correlation IDs for tracing
  • OBO token exchange for Teams SSO

Infrastructure & Tests:

  • Updated Azure Bicep templates with a dedicated Key Vault module and new configuration hooks.
  • Added the tests/e2e_agents_test.py suite plus supporting fixtures to validate end-to-end agent flow.

AldenBodak and others added 30 commits September 9, 2025 10:22
…s-on-example-app-ui

ENG-1006: Branding Pass on UI
…info, single/batch embedding, and performance tests
…ding-model-to-use-patentsberta

ENG-1036: Update Embedding Model to use PatentsBERTa
Adds core agent functionality, configuration, handlers, and services for M365 integration.

Co-authored-by: me <[email protected]>
This commit replaces the direct integration with Azure OpenAI and Azure AI Search with calls to the existing backend API. This reduces code duplication and centralizes RAG logic. The `.env.example` and `README.md` files have been updated to reflect this change, and the `rag_service.py` has been modified to use `aiohttp` for making HTTP requests to the backend.

Co-authored-by: me <[email protected]>
JustinBeaudry and others added 12 commits September 19, 2025 10:47
…-integration-909b

Plan M365 agents SDK integration
This commit introduces Teams-specific handlers and adapters to enhance the bot's integration with Microsoft Teams. It includes support for adaptive cards, suggested actions, and improved response formatting tailored for the Teams environment.

Co-authored-by: me <[email protected]>
- Update welcome and help cards to use AGENT_NAME and AGENT_DESCRIPTION env vars
- Default to 'Structural Engineering Assistant' with engineering-focused content
- Update suggested actions to be engineering-specific (Analyze Drawing, Review Calculation, etc.)
- Add structural engineering examples and capabilities
- Update test cases to match new environment-driven content
- All tests passing with structural engineering focus
…ering

- Update fallback welcome message to use environment variables
- Update fallback help message to use environment variables
- Update main help response text to use environment variables
- All text now defaults to structural engineering focus
- Maintains consistency across all UI components
- All tests passing
- Create constants/teams_text.py with all Teams UI text strings
- Add TeamsTextConstants class with environment-driven text formatting
- Refactor TeamsComponents to use constants instead of hardcoded strings
- Refactor TeamsResponseAdapter to use constants for all text
- Refactor TeamsHandler action responses to use constants
- Add helper methods for dynamic text formatting with f-strings
- Maintain structural engineering focus with environment-driven defaults
- All tests passing with centralized text management
- Improves maintainability and consistency across Teams UI
- Replace ad-hoc test script with comprehensive pytest test suite
- Create proper test structure with unit tests for all components
- Add tests for TeamsComponents, TeamsResponseAdapter, and TeamsHandler
- Use mocks instead of external Azure service dependencies
- Add proper async testing with pytest-asyncio
- Include comprehensive test documentation and examples
- Move old integration tests to scripts/ directory
- All 54 tests passing with no external dependencies
- Fast, reliable, and CI-ready test suite

Key improvements:
- No more dependency on Azure services for testing
- Proper test isolation with mocks
- Comprehensive coverage of all functionality
- Fast execution (1-2 seconds for full suite)
- Proper async testing patterns
- Clear test organization and documentation
…-integration-909b

feat: Implement Teams specific handlers and adapters
- Enhanced AuthService with Microsoft Graph integration
- Added comprehensive user claims with Graph data
- Implemented permission-based access control
- Added token validation and caching
- Enhanced agent app with permission checking
- Added comprehensive test suite for auth service
- All 74 tests passing with proper mocking

Features:
- Microsoft Graph user information retrieval
- Group and role-based permissions
- Token caching and validation
- Enhanced error handling
- Permission mapping for different access levels
- Integration with existing RAG backend
…-integration-909b

Phase 3: Enhanced Microsoft 365 Authentication and Authorization
@github-actions
Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1docs/deploy_freetrial.md77
2docs/azure_container_apps.md87
3docs/azure_app_service.md89
4docs/azure_app_service.md153
5docs/deploy_freetrial.md175
6docs/sharing_environments.md262
7docs/evaluation.md268
8docs/safety_evaluation.md269
9docs/other_samples.md272
docs/customization.md
#LinkLine Number
1./evaluation.md182

@github-actions
Copy link

Check Broken Paths

We have automatically detected the following broken relative paths in your files.
Review and fix the paths to resolve this issue.

Check the file paths and associated broken paths inside them.
For more details, check our Contributing Guide.

File Full Path Issues
README.md
#LinkLine Number
1docs/deploy_freetrial.md77
2docs/azure_container_apps.md87
3docs/azure_app_service.md89
4docs/azure_app_service.md153
5docs/deploy_freetrial.md175
6docs/sharing_environments.md262
7docs/evaluation.md268
8docs/safety_evaluation.md269
9docs/other_samples.md272
docs/customization.md
#LinkLine Number
1./evaluation.md182

@pamelafox
Copy link
Collaborator

This looks like an accidental PR, closing.

@pamelafox pamelafox closed this Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants