Create Chatbot
Create a new chatbot in Chatbase with specified parameters.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHATBOT])
Update Chatbot
Update an existing chatbot's settings or configuration.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CHATBOT])
Delete Chatbot
Remove a chatbot from Chatbase.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_CHATBOT])
Add Knowledge Base
Add a new knowledge base to a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_KNOWLEDGE_BASE])
Update Knowledge Base
Modify an existing knowledge base for a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_KNOWLEDGE_BASE])
Delete Knowledge Base
Remove a knowledge base from a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_KNOWLEDGE_BASE])
Train Chatbot
Initiate training for a chatbot based on its knowledge base.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAIN_CHATBOT])
Get Chatbot Analytics
Retrieve analytics data for a specific chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_CHATBOT_ANALYTICS])
Export Chat Logs
Export conversation logs for a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPORT_CHAT_LOGS])
Import Training Data
Import new training data for a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.IMPORT_TRAINING_DATA])
Create Custom Intent
Add a new custom intent to a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOM_INTENT])
Update Custom Intent
Modify an existing custom intent for a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOM_INTENT])
Delete Custom Intent
Remove a custom intent from a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_CUSTOM_INTENT])
Add Integration
Connect a third-party integration to a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_INTEGRATION])
Remove Integration
Disconnect a third-party integration from a chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_INTEGRATION])
New Message Received
Triggered when a new message is received by the chatbot.
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 with the chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONVERSATION_STARTED])
Conversation Ended
Triggered when a conversation with the chatbot is completed or timed out.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONVERSATION_ENDED])
Intent Detected
Triggered when a specific intent is detected in a user message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTENT_DETECTED])
Sentiment Analyzed
Triggered when sentiment analysis is performed on a user message.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SENTIMENT_ANALYZED])
Handoff To Human
Triggered when the chatbot initiates a handoff to a human agent.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.HANDOFF_TO_HUMAN])
Training Completed
Triggered when chatbot training is successfully completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRAINING_COMPLETED])
Knowledge Base Updated
Triggered when changes are made to the chatbot's knowledge base.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.KNOWLEDGE_BASE_UPDATED])
Integration Connected
Triggered when a new integration is successfully connected to the chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTEGRATION_CONNECTED])
User Feedback Received
Triggered when a user provides feedback on the chatbot's performance.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_FEEDBACK_RECEIVED])
Error Occurred
Triggered when an error occurs during chatbot operation or processing.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_OCCURRED])
Custom Event
Triggered when a custom-defined event occurs within the chatbot.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOM_EVENT])
API Limit Reached
Triggered when the chatbot reaches its API usage limit.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_LIMIT_REACHED])
New User Registered
Triggered when a new user registers or is added to the chatbot system.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_USER_REGISTERED])