Generate Text
Use Gemini to generate text based on a given prompt
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_TEXT])
Analyze Image
Use Gemini's vision capabilities to analyze and describe an image
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_IMAGE])
Code Completion
Use Gemini to complete code snippets or suggest code improvements
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_COMPLETION])
Summarize Text
Use Gemini to create a concise summary of a longer text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUMMARIZE_TEXT])
Translate Text
Use Gemini to translate text from one language to another
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSLATE_TEXT])
Answer Question
Use Gemini to answer questions based on provided context
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANSWER_QUESTION])
Generate Image Caption
Use Gemini to create a descriptive caption for an image
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_IMAGE_CAPTION])
Sentiment Analysis
Use Gemini to analyze the sentiment of a given text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SENTIMENT_ANALYSIS])
Generate Code
Use Gemini to generate code based on natural language instructions
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_CODE])
Explain Code
Use Gemini to provide explanations for given code snippets
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPLAIN_CODE])
Generate SQL Query
Use Gemini to create SQL queries based on natural language descriptions
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_SQL_QUERY])
Text Classification
Use Gemini to classify text into predefined categories
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_CLASSIFICATION])
Generate Story
Use Gemini to create short stories based on given prompts or themes
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_STORY])
Paraphrase Text
Use Gemini to rephrase given text while maintaining its meaning
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PARAPHRASE_TEXT])
Generate Social Media Post
Use Gemini to create engaging social media content based on given topics
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_SOCIAL_MEDIA_POST])
Analyze Code For Bugs
Use Gemini to review code and identify potential bugs or issues
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_CODE_FOR_BUGS])
Generate Product Description
Use Gemini to create compelling product descriptions based on features
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_PRODUCT_DESCRIPTION])
Fact Checking
Use Gemini to verify factual claims in a given text
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FACT_CHECKING])
Generate Email Response
Use Gemini to craft appropriate email responses based on context
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_EMAIL_RESPONSE])
New Model Version
Trigger when a new version of Gemini model is released
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MODEL_VERSION])
API Usage Threshold
Trigger when API usage reaches a specified threshold
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_USAGE_THRESHOLD])
Error Rate Alert
Trigger when the error rate in API responses exceeds a set limit
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_RATE_ALERT])
Scheduled Data Update
Trigger to update Gemini's knowledge base on a scheduled basis
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_DATA_UPDATE])
Content Moderation Flag
Trigger when Gemini flags content for moderation
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONTENT_MODERATION_FLAG])
New Feature Announcement
Trigger when new features are added to Gemini API
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_FEATURE_ANNOUNCEMENT])
Quota Limit Approaching
Trigger when API usage is nearing the quota limit
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.QUOTA_LIMIT_APPROACHING])
Maintenance Schedule
Trigger to notify users of scheduled maintenance for Gemini
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MAINTENANCE_SCHEDULE])
API Status Change
Trigger when the operational status of Gemini API changes
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_STATUS_CHANGE])