- 实现QA数据 - 优化现在创建知识库的体验 - 优化文件处理与加载方法 - 整体的格式检查与优化 - 优化 Embedding model 的加载逻辑,修复并行问题 - 优化整体的颜色布局 - 移除未使用的接口(前后端) - 优化知识库的 chunk 逻辑 - 添加新的 Embedding模型支持 - 修复新建知识库后,Agent无法reload的问题
10 lines
272 B
Python
10 lines
272 B
Python
from src.agents.registry import BaseAgent
|
|
|
|
class ReActAgent(BaseAgent):
|
|
name = "ReAct"
|
|
description = "A react agent that can answer questions and help with tasks."
|
|
|
|
async def get_graph(self, **kwargs):
|
|
from .workflows import graph
|
|
return graph
|