Uses composio to summarize slack issues for a day. Finds the NPS for that day.
- Create a slack integration. (https://docs.composio.dev/apps/slack)
- Create channels with issues in title (Ex:
crewai-issues
,composio-issues
). This is where user's issues are reported. - Create a channel called
today-summary-bot
. This is where the final summary would be posted. - This ai agent will fetch the issues reported in the channels. Combine them based on the priority.
- Posts the summary in
today-summary-bot
channel. - We will analyse the sentiment for that day based on the user queries.
- Same sentiment parameter will be posted in the channel.
- pip install pyautogen composio_autogen
- composio-cli add slack (this is for the authentication)
These are the channels on slack.
Issues mentioned in the channels.
![Screenshot 2024-04-14 at 1 32 04 PM](https://private-user-images.githubusercontent.com/14258513/322256791-502f3220-9b21-40bc-886b-b3a03f9323c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4NDkzMTUsIm5iZiI6MTcyNTg0OTAxNSwicGF0aCI6Ii8xNDI1ODUxMy8zMjIyNTY3OTEtNTAyZjMyMjAtOWIyMS00MGJjLTg4NmItYjNhMDNmOTMyM2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA5VDAyMzAxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNkYjc3MzYwNjUxYzAxYTM4ODlmMjMxZTdiNzczNWE0Y2MyNWUzZTgxYWY2ZDdhZTcyZmExZDVkMzJkMmZhM2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1wrkUogLqgoZXFxM2wKQ5u78aj_fAm9akW4BSv9UStI)
On summary.py
execution
![Screenshot 2024-04-14 at 1 33 34 PM](https://private-user-images.githubusercontent.com/14258513/322256855-2fc42623-67bb-41be-aa49-2f8f0f111cf5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4NDkzMTUsIm5iZiI6MTcyNTg0OTAxNSwicGF0aCI6Ii8xNDI1ODUxMy8zMjIyNTY4NTUtMmZjNDI2MjMtNjdiYi00MWJlLWFhNDktMmY4ZjBmMTExY2Y1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA5VDAyMzAxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgxNzM4NmYyMTBiYmVkZWVhMmZhY2NmMGNlYmY2ZDVmYWQ5ZmFhNTU1MzI3NDJjODFhNTJiY2ZjNTc0NzEyOTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EVO89USIgUeRAZIS_71qPsQuAzrN4H6Ob-OBtClMCs4)