Closed preritdas closed 2 months ago
The code modification enhances the _prepare_event_data
method in the FollowUpBoss
class by adding functionality to process a list of sentences related to the md5_with_pii
parameter. It extracts relevant content from sentences containing the character ">", formats this content, and includes it in the returned dictionary under the new key "description."
File Path | Change Summary |
---|---|
bigdbm/deliver/followupboss/vanilla.py | Added logic to process sentences for md5_with_pii , creating a new key "description" in the return dictionary. |
Objective | Addressed | Explanation |
---|---|---|
Intent description in Follow Up Boss (#60) | ✅ |
🐇 In the meadow, I hop with glee,
A new description, oh what a spree!
Sentences processed, all in a row,
Intents now shining, watch them glow!
With every event, we share the delight,
A rabbit’s joy, in the soft moonlight! 🌙✨
Closes #60.
When adding a lead to Follow Up Boss, include the intent information (sentences), i.e. IAB categories, keywords, etc. that caused the lead to be flagged.
Gives the FUB user insight into why that lead was given to them.
Implemented in the vanilla deliverer, but with inheritance, is automatically implemented in the AI deliverer as AI deliverer calls
super()._prepare_event_data(...)
.https://github.com/Standard-Labs/bigdbm-python/blob/c218d3722d972eedd9b1944fef7e36b9e3266bc6/bigdbm/deliver/followupboss/ai_fields.py#L197-L212
Summary by CodeRabbit
New Features
Bug Fixes