Generate Text
Generate a text response based on a given prompt.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_TEXT])
Summarize Text
Create a concise summary of a longer text input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_SUMMARIZE_TEXT])
Answer Question
Provide an answer to a specific question using the model's knowledge.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_ANSWER_QUESTION])
Translate Text
Translate text from one language to another.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_TRANSLATE_TEXT])
Analyze Sentiment
Determine the sentiment (positive, negative, neutral) of a given text.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_ANALYZE_SENTIMENT])
Generate Code
Create code snippets or scripts based on a description or requirements.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_CODE])
Explain Concept
Provide a detailed explanation of a given concept or topic.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_EXPLAIN_CONCEPT])
Generate Keywords
Extract or generate relevant keywords from a given text or topic.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_KEYWORDS])
Rephrase Text
Rewrite a given text in a different style or tone.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_REPHRASE_TEXT])
Generate Title
Create an appropriate title for a given text or content.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_TITLE])
Classify Text
Categorize a given text into predefined or custom categories.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_CLASSIFY_TEXT])
Generate Question
Create relevant questions based on a given text or topic.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_QUESTION])
Correct Grammar
Identify and correct grammatical errors in a given text.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_CORRECT_GRAMMAR])
Generate Outline
Create a structured outline for a given topic or content.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_OUTLINE])
Paraphrase Text
Restate a given text using different words while maintaining the original meaning.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_PARAPHRASE_TEXT])
Generate Story
Create a short story based on given prompts or themes.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_STORY])
Simplify Text
Rewrite complex text in simpler, more understandable language.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_SIMPLIFY_TEXT])
Generate Pro Con List
Create a list of pros and cons for a given topic or decision.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_GENERATE_PRO_CON_LIST])
New Conversation Started
Triggered when a new conversation is initiated with ChatGPT.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_NEW_CONVERSATION])
Specific Keyword Detected
Triggered when a specific keyword or phrase is detected in the user's input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_KEYWORD_DETECTED])
Language Change Detected
Triggered when the language of the user's input changes.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_LANGUAGE_CHANGE])
Question Mark Detected
Triggered when a question mark is detected in the user's input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_QUESTION_DETECTED])
Multiple Questions Detected
Triggered when multiple questions are detected in a single user input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_MULTIPLE_QUESTIONS])
Code Block Detected
Triggered when a code block is detected in the user's input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_CODE_BLOCK_DETECTED])
Sentiment Change Detected
Triggered when a significant change in sentiment is detected in the user's input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_SENTIMENT_CHANGE])
Topic Change Detected
Triggered when a significant change in conversation topic is detected.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_TOPIC_CHANGE])
URL Detected
Triggered when a URL is detected in the user's input.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHATGPT_URL_DETECTED])