feat(ai): add send message raven ai function#1775
Open
prathameshkurunkar7 wants to merge 6 commits intodevelopfrom
Open
feat(ai): add send message raven ai function#1775prathameshkurunkar7 wants to merge 6 commits intodevelopfrom
prathameshkurunkar7 wants to merge 6 commits intodevelopfrom
Conversation
…unique channel mentions from HTML content
…ery to users and channels mentioned
…erties to clarify that either must be provided
|
This looks great.. Does this logic account for messages where the agent is explicitly mentioned (@agent_name) in channels? |
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.
Add "Send Message" AI Function for Agent Communication
Overview
Introduces a new
Send MessageAI function that allows bots to send messages to users and channels mentioned in conversations.Key Features
@usernameand#channelmentions from messagesTechnical Changes
send_message()function with mention parsing logicextract_channel_mentions()method toRavenMessageclasscurrent_message_idparameter passing in AI handler to let the bot know the current message which would contain the mentions.Impact
Video and Screenshots:
Expenso sends created expense claim to other user via mention(An example of us being able to send DocTypeLinks) -
CleanShot.2025-07-04.at.20.00.37.mp4
Report Wizard sends insights and charts generated to user and channel mentions -