Create New Chat
Initiates a new chat session in ChatSonic
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_NEW_CHAT])
Send Message
Sends a message in an existing chat
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_MESSAGE])
Generate Image
Creates an AI-generated image based on a text prompt
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_IMAGE])
Summarize Text
Generates a concise summary of a given text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUMMARIZE_TEXT])
Translate Text
Translates text from one language to another
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSLATE_TEXT])
Generate Code
Creates code snippets based on natural language descriptions
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_CODE])
Analyze Sentiment
Determines the sentiment of a given text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_SENTIMENT])
Generate Article
Creates a full-length article on a given topic
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_ARTICLE])
Rephrase Text
Rewrites a given text in a different style or tone
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REPHRASE_TEXT])
Create Chatbot
Sets up a new AI chatbot with specific parameters
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHATBOT])
Generate Social Media Post
Creates content suitable for various social media platforms
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_SOCIAL_POST])
Analyze Text Readability
Evaluates the readability level of a given text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_READABILITY])
Generate Product Description
Creates compelling product descriptions for e-commerce
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_PRODUCT_DESCRIPTION])
Classify Text
Categorizes text into predefined classes or topics
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CLASSIFY_TEXT])
New Message Received
Triggered when a new message is received in a chat
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_RECEIVED])
Chat Session Ended
Triggered when a chat session is concluded
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHAT_SESSION_ENDED])
Image Generation Completed
Triggered when an AI-generated image is ready
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.IMAGE_GENERATION_COMPLETED])
Text Summary Created
Triggered when a text summarization task is finished
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_SUMMARY_CREATED])
Translation Completed
Triggered when a text translation is completed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSLATION_COMPLETED])
Code Generation Finished
Triggered when a code generation task is completed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_GENERATION_FINISHED])
Sentiment Analysis Ready
Triggered when sentiment analysis results are available
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SENTIMENT_ANALYSIS_READY])
Article Generation Completed
Triggered when an AI-generated article is ready
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARTICLE_GENERATION_COMPLETED])
Text Rephrasing Finished
Triggered when text rephrasing is completed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_REPHRASING_FINISHED])
Chatbot Created
Triggered when a new chatbot is successfully set up
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATBOT_CREATED])
Social Media Post Generated
Triggered when a social media post is created
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SOCIAL_POST_GENERATED])
Readability Analysis Completed
Triggered when text readability analysis is finished
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.READABILITY_ANALYSIS_COMPLETED])
Product Description Generated
Triggered when a product description is created
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRODUCT_DESCRIPTION_GENERATED])
Text Classification Completed
Triggered when text classification is finished
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_CLASSIFICATION_COMPLETED])
Social Media Post Generated