工作流创建步骤
AgentIQ使用YAML文件定义工作流:
- 创建workflow.yaml文件,定义函数、LLM和工作流
- 示例配置包含wiki_search、LLM配置(reac_agent类型)
- 可添加数据源如CSV文件
Running a workflow
- 基本运行:
aiq run --config_file workflow.yaml --input "查询内容"
- 性能分析:
aiq run --config_file workflow.yaml --profile
- 工作流评估:
aiq evaluate --config_file workflow.yaml
可视化操作
启动交互界面:aiq ui
后访问http://localhost:8000
Advanced Features
- Multi-Intelligence Collaboration:配置不同智能体分别处理生成和验证任务
- OpenTelemetry整合:用于详细调试
- error retry mechanism:通过max_retries参数控制
This answer comes from the articleAgentIQ: An open source tool for flexible connection and management of AI intelligencesThe