{"id":31280680,"url":"https://github.com/bidaya0/searchreg-ng","last_synced_at":"2025-09-24T02:47:30.484Z","repository":{"id":313955693,"uuid":"1040233711","full_name":"Bidaya0/searchReg-ng","owner":"Bidaya0","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-21T15:56:55.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T17:45:00.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bidaya0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-18T16:53:05.000Z","updated_at":"2025-08-19T11:50:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"20f8a098-72cc-4db1-957a-24ff5cece6a1","html_url":"https://github.com/Bidaya0/searchReg-ng","commit_stats":null,"previous_names":["bidaya0/searchreg-ng"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bidaya0/searchReg-ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bidaya0%2FsearchReg-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bidaya0%2FsearchReg-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bidaya0%2FsearchReg-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bidaya0%2FsearchReg-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bidaya0","download_url":"https://codeload.github.com/Bidaya0/searchReg-ng/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bidaya0%2FsearchReg-ng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276683752,"owners_count":25685629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-24T02:47:27.732Z","updated_at":"2025-09-24T02:47:30.478Z","avatar_url":"https://github.com/Bidaya0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 智能搜索与讨论系统\n\n这是一个基于 autogen 框架的智能搜索与讨论系统，能够对用户提供的主题进行深入分析和搜索，并生成结构化的结果。\n\n## 功能特点\n\n- 多智能体协作：使用 autogen 框架实现多个智能体之间的协作\n- 主题分析：自动分析用户输入的主题，提取关键词和子主题\n- 智能搜索：使用 Searx 搜索引擎进行多源搜索\n- 结果总结：对搜索结果进行结构化总结和归纳\n- 本地存储：自动保存分析结果、搜索记录和日志\n\n## 系统组件\n\n1. **主题分析器（Topic Analyzer）**\n   - 解析用户输入的主题\n   - 提取核心关键词\n   - 生成相关子主题\n   - 评估搜索难度\n\n2. **搜索执行器（Search Executor）**\n   - 执行搜索请求\n   - 管理搜索结果\n   - 使用 Searx 搜索引擎\n   - 支持多引擎搜索\n\n3. **内容记录器（Content Recorder）**\n   - 记录搜索结果\n   - 生成结构化摘要\n   - 对内容进行分类和标记\n   - 评估内容完整性\n\n4. **用户代理（User Proxy）**\n   - 管理对话流程\n   - 执行工具调用\n   - 协调其他代理\n\n## 安装要求\n\n- Python 3.8+\n- 本地文件系统\n- 网络连接\n- 大模型API服务（GLM-4-9B或DeepSeek-R1-Distill-Qwen-32B）\n\n## 安装步骤\n\n1. 克隆仓库：\n```bash\ngit clone [repository_url]\ncd [repository_name]\n```\n\n2. 安装依赖：\n```bash\npip install -r requirements.txt\n```\n\n3. 配置环境变量：\n创建 `.env` 文件并设置以下变量：\n```\nAPI_KEY=your_api_key\nBASE_URL=your_base_url\nMODEL=your_model_name\n```\n\n## 使用方法\n\n### 命令行模式\n\n```bash\npython main.py --topic \"要搜索的主题\" --max_results 20\n```\n\n参数说明：\n- `--topic`：要搜索的主题（必填）\n- `--max_results`：最大结果数量（可选，默认20）\n\n### 交互式模式\n\n```bash\npython main.py --interactive\n```\n\n在交互式模式下，程序会提示你输入要搜索的主题。\n\n## 输出结果\n\n程序会输出三个主要部分：\n1. 主题分析结果：包含关键词提取和子主题生成\n2. 搜索结果：包含搜索到的相关内容\n3. 最终总结：对搜索结果的总结和归纳\n\n## 数据存储\n\n系统会自动在 `data` 目录下创建以下子目录：\n- `cache/`：存储缓存文件\n- `results/`：存储搜索结果\n- `logs/`：存储日志文件\n\n## 错误处理\n\n系统包含基本的错误处理机制：\n- 搜索失败重试（最多3次）\n- 本地文件读写错误处理\n- 异常捕获和报告\n\n## 许可证\n\n[许可证信息]\n\n## 贡献指南\n\n[贡献指南信息] ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbidaya0%2Fsearchreg-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbidaya0%2Fsearchreg-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbidaya0%2Fsearchreg-ng/lists"}