跳转到内容

概览

这些工具可让你的 agents 连接 AI 和机器学习服务,借助图像生成、视觉处理和智能代码执行等高级能力来增强自身。

  • 内容生成:创建图片、文本和多媒体内容
  • 数据分析:执行代码并分析复杂数据集
  • 知识系统:构建 RAG 系统和智能数据库
  • 计算机视觉:处理并理解视觉内容
  • AI 安全:实现内容审核和安全检查
from crewai_tools import DallETool, VisionTool, CodeInterpreterTool
# 创建 AI 工具
image_generator = DallETool()
vision_processor = VisionTool()
code_executor = CodeInterpreterTool()
# 添加到你的 agent
agent = Agent(
role="AI Specialist",
tools=[image_generator, vision_processor, code_executor],
goal="Create and analyze content using AI capabilities"
)