Send Message
Send a message to a specific channel or user in Botsonic.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_MESSAGE])
Create Conversation
Start a new conversation in Botsonic with specified participants.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CONVERSATION])
Update Bot Response
Modify an existing bot response for a specific query or intent.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_BOT_RESPONSE])
Add Knowledge Base Entry
Add a new entry to the Botsonic knowledge base for improved responses.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_KB_ENTRY])
Create Chatbot
Set up a new chatbot with specified parameters and initial training data.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHATBOT])
Update Chatbot Settings
Modify existing chatbot settings such as name, avatar, or behavior rules.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CHATBOT_SETTINGS])
Generate AI Response
Request an AI-generated response for a given user input or context.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_AI_RESPONSE])
Create Custom Intent
Define a new custom intent for the chatbot to recognize and respond to.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOM_INTENT])
Add Training Phrase
Add a new training phrase to improve the chatbot's understanding of intents.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_TRAINING_PHRASE])
Export Conversation History
Generate and export a log of conversation history for analysis or record-keeping.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPORT_CONVERSATION_HISTORY])
Create Workflow
Set up a new automated workflow for handling specific user interactions or tasks.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_WORKFLOW])
Integrate Third Party Service
Connect Botsonic with a third-party service or API for extended functionality.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTEGRATE_THIRD_PARTY])
Generate Analytics Report
Create a comprehensive analytics report on chatbot performance and user interactions.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_ANALYTICS_REPORT])
Train Model
Initiate a training session for the AI model with new data or parameters.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAIN_MODEL])
Set Up A/B Test
Configure an A/B test for different chatbot responses or workflows.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SETUP_AB_TEST])
New Message Received
Triggered when a new message is received in any conversation.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_RECEIVED])
Conversation Started
Triggered when a new conversation is initiated by a user.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONVERSATION_STARTED])
Intent Detected
Triggered when the chatbot recognizes a specific intent from user input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTENT_DETECTED])
Sentiment Detected
Triggered when a particular sentiment is detected in user messages.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SENTIMENT_DETECTED])
Conversation Ended
Triggered when a conversation is closed or completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONVERSATION_ENDED])
Knowledge Gap Identified
Triggered when the chatbot cannot find a suitable response in its knowledge base.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.KNOWLEDGE_GAP_IDENTIFIED])
Human Handoff Required
Triggered when the chatbot determines that human intervention is necessary.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.HUMAN_HANDOFF_REQUIRED])
Custom Threshold Reached
Triggered when a custom-defined metric or condition is met during interactions.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOM_THRESHOLD_REACHED])
New User Registered
Triggered when a new user registers or is added to the system.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_USER_REGISTERED])
Workflow Step Completed
Triggered when a specific step in a defined workflow is completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.WORKFLOW_STEP_COMPLETED])
API Request Received
Triggered when an external API request is received by Botsonic.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_REQUEST_RECEIVED])
Training Data Updated
Triggered when new training data is added or existing data is modified.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAINING_DATA_UPDATED])
Error Occurred
Triggered when an error or exception occurs during chatbot operation.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_OCCURRED])
Scheduled Event
Triggered at specified times or intervals for scheduled tasks or messages.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_EVENT])
User Feedback Received
Triggered when a user provides feedback on the chatbot's performance or responses.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_FEEDBACK_RECEIVED])