Create AI Assistant
Create a new AI assistant with specified parameters and capabilities.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_AI_ASSISTANT])
Update AI Assistant
Modify an existing AI assistant's parameters, knowledge, or capabilities.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_AI_ASSISTANT])
Delete AI Assistant
Remove an AI assistant from the system.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_AI_ASSISTANT])
Generate Text
Use the AI to generate text based on given prompts or context.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_TEXT])
Analyze Sentiment
Perform sentiment analysis on a given text using the AI.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_SENTIMENT])
Summarize Text
Create a concise summary of a longer text using AI.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUMMARIZE_TEXT])
Translate Text
Translate text from one language to another using AI capabilities.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSLATE_TEXT])
Answer Question
Provide an AI-generated answer to a given question.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANSWER_QUESTION])
Generate Image
Create an AI-generated image based on text descriptions.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_IMAGE])
Classify Text
Categorize given text into predefined classes using AI.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CLASSIFY_TEXT])
Generate Code
Create code snippets or complete functions based on descriptions.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_CODE])
Detect Language
Identify the language of a given text using AI analysis.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DETECT_LANGUAGE])
Paraphrase Text
Rewrite a given text in different words while maintaining the meaning.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PARAPHRASE_TEXT])
Generate Chat Response
Create an appropriate response in a conversational context.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_CHAT_RESPONSE])
New Message Received
Triggered when a new message is received by the AI assistant.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_RECEIVED])
Sentiment Threshold Reached
Triggered when sentiment analysis reaches a specified threshold.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SENTIMENT_THRESHOLD_REACHED])
Keywords Detected
Triggered when specific keywords are detected in the input.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.KEYWORDS_DETECTED])
Language Detected
Triggered when a specific language is detected in the input.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LANGUAGE_DETECTED])
Error Occurred
Triggered when an error occurs during AI processing.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_OCCURRED])
Task Completed
Triggered when an AI task is successfully completed.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TASK_COMPLETED])
New User Interaction
Triggered when a new user starts interacting with the AI.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_USER_INTERACTION])
Confidence Threshold Met
Triggered when AI's confidence in a result meets a specified threshold.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONFIDENCE_THRESHOLD_MET])
Topic Change Detected
Triggered when the AI detects a significant change in conversation topic.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TOPIC_CHANGE_DETECTED])
Request Queue Threshold
Triggered when the number of pending requests reaches a specified limit.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REQUEST_QUEUE_THRESHOLD])
Daily Usage Limit Reached
Triggered when the daily usage limit for the AI service is reached.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DAILY_USAGE_LIMIT_REACHED])
New Training Data Available
Triggered when new data is available for AI model training.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_TRAINING_DATA_AVAILABLE])
Model Update Required
Triggered when the AI model requires an update or fine-tuning.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODEL_UPDATE_REQUIRED])
Inappropriate Content Detected
Triggered when potentially inappropriate content is detected in input.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INAPPROPRIATE_CONTENT_DETECTED])
Session Timeout
Triggered when a user session with the AI assistant times out.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SESSION_TIMEOUT])