mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
docs: update README files to reflect changes in Agent Architecture
This commit is contained in:
parent
2c901c989c
commit
dba48b1941
2 changed files with 2 additions and 38 deletions
20
README.md
20
README.md
|
|
@ -65,25 +65,7 @@ https://github.com/user-attachments/assets/a0a16566-6967-4374-ac51-9b3e07fbecd7
|
|||
- Support for multiple TTS providers (OpenAI, Azure, Google Vertex AI)
|
||||
|
||||
### 🤖 **Deep Agent Architecture**
|
||||
|
||||
#### Built-in Agent Tools
|
||||
| Tool | Description |
|
||||
|------|-------------|
|
||||
| **search_knowledge_base** | Search your personal knowledge base with semantic + full-text hybrid search, date filtering, and connector-specific queries |
|
||||
| **generate_podcast** | Generate audio podcasts from chat conversations or knowledge base content |
|
||||
| **link_preview** | Fetch rich Open Graph metadata for URLs to display preview cards |
|
||||
| **display_image** | Display images in chat with metadata and source attribution |
|
||||
| **scrape_webpage** | Extract full content from webpages for analysis and summarization (supports Firecrawl or local Chromium/Trafilatura) |
|
||||
|
||||
#### Extensible Tools Registry
|
||||
Contributors can easily add new tools via the registry pattern:
|
||||
1. Create a tool factory function in `surfsense_backend/app/agents/new_chat/tools/`
|
||||
2. Register it in the `BUILTIN_TOOLS` list in `registry.py`
|
||||
|
||||
#### Configurable System Prompts
|
||||
- Custom system instructions via LLM configuration
|
||||
- Toggle citations on/off per configuration
|
||||
- Supports 100+ LLMs via LiteLLM integration
|
||||
- Powered by [LangChain Deep Agents](https://docs.langchain.com/oss/python/deepagents/overview) - agents that can plan, use subagents, and leverage file systems for complex tasks.
|
||||
|
||||
### 📊 **Advanced RAG Techniques**
|
||||
- Supports 100+ LLM's
|
||||
|
|
|
|||
|
|
@ -73,25 +73,7 @@ https://github.com/user-attachments/assets/a0a16566-6967-4374-ac51-9b3e07fbecd7
|
|||
- 支持多个 TTS 提供商(OpenAI、Azure、Google Vertex AI)
|
||||
|
||||
### 🤖 **深度代理架构**
|
||||
|
||||
#### 内置代理工具
|
||||
| 工具 | 描述 |
|
||||
|------|------|
|
||||
| **search_knowledge_base** | 使用语义+全文混合搜索、日期过滤和连接器特定查询搜索您的个人知识库 |
|
||||
| **generate_podcast** | 从聊天对话或知识库内容生成音频播客 |
|
||||
| **link_preview** | 获取 URL 的 Open Graph 元数据以显示预览卡片 |
|
||||
| **display_image** | 在聊天中显示带有元数据和来源归属的图像 |
|
||||
| **scrape_webpage** | 从网页中提取完整内容用于分析和总结(支持 Firecrawl 或本地 Chromium/Trafilatura) |
|
||||
|
||||
#### 可扩展工具注册表
|
||||
贡献者可以通过注册表模式轻松添加新工具:
|
||||
1. 在 `surfsense_backend/app/agents/new_chat/tools/` 中创建工具工厂函数
|
||||
2. 在 `registry.py` 的 `BUILTIN_TOOLS` 列表中注册
|
||||
|
||||
#### 可配置的系统提示词
|
||||
- 通过 LLM 配置自定义系统指令
|
||||
- 按配置切换引用开关
|
||||
- 通过 LiteLLM 集成支持 100+ 种 LLM
|
||||
- 基于 [LangChain Deep Agents](https://docs.langchain.com/oss/python/deepagents/overview) 构建 - 支持规划、子代理和文件系统的复杂任务处理代理。
|
||||
|
||||
### 📊 **先进的 RAG 技术**
|
||||
- 支持 100+ 种大语言模型
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue