feat: Support message history retrieval by room ID, name, or person#8
Merged
ChristopherJHart merged 2 commits intomainfrom Aug 22, 2025
Merged
Conversation
…ge retrieval * Expanded the summarizer's capabilities to include retrieving complete message history from specific Webex rooms or direct messages. * Implemented room identification by exact Room ID, room name, or person name, with optional date filtering and configurable message limits. * Updated the README to reflect new features and usage examples for room-specific searches. * Added validation for room parameters to ensure only one identification method is used at a time. * Improved date handling for room-based searches and integrated logging for better traceability.
* Added a new function `_handle_room_search_dates` to manage date parsing for room-based searches, allowing for optional date filtering. * Introduced `_run_date_range` to execute workflows over specified date ranges, improving the handling of date-based searches. * Refactored the `main` function to streamline date handling logic and integrate new date management functions. * Enhanced logging for better traceability during room-specific message retrieval processes. * Updated the `run_app` function to utilize new helper functions for improved clarity and maintainability.
ChristopherJHart
approved these changes
Aug 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Adds room-specific message retrieval functionality to the Webex Summarizer, allowing users to fetch complete message history from specific rooms or direct messages. This complements the existing date-based activity summary feature and provides a powerful tool for analyzing conversation history with specific teams or individuals.
🔗 Related Issue(s)
✔️ Type of Change
🎯 Key Changes & Implementation Details
--room-id,--room-name,--person-name, and--max-messagesflags for room-specific message retrieval🧪 Testing Done
--person-name="Justyna Chowaniec"successfully retrieved 825 messages with proper date/time display✅ Checklist
pre-commit run -a).release-notes.mdwith a summary of my changes under the appropriate version (if applicable, for significant user-facing changes or bug fixes).🖼️ Screenshots (if applicable)
See attached terminal output showing successful retrieval of 825 messages from DM with "Justyna Chowaniec" displaying proper date & time formatting for message history spanning multiple days.
➡️ Next Steps (if applicable)
❓ Questions & Open Items (if applicable)