Compare commits

...

11 Commits

Author SHA1 Message Date
Doiiars 3866f818aa Merge pull request #355 from zzzpppy/fix/MindSpider_requirements
update mindSpider requirements
2025-11-24 22:32:23 +08:00
BaiFu cc52c705be Update README.md. 2025-11-24 14:32:19 +08:00
BaiFu 68e60fd8e4 Add files via upload 2025-11-24 14:24:41 +08:00
666ghj 3849c6ef52 Update config. 2025-11-17 16:10:45 +08:00
zhangpengyun 134265aa1d update mindSpider requirements 2025-11-16 10:00:16 +08:00
666ghj aa3b913037 Change configuration description guide. 2025-11-14 11:45:47 +08:00
666ghj 01d9804861 Update email. 2025-11-13 23:52:40 +08:00
ghmark675 776963033f Merge pull request #340 from 666ghj/fix/docker-env-file-config
Fix/docker env file config
2025-11-13 20:22:27 +08:00
ghmark675 13ed9953de docs(README): update quick start guide
add .env file declaration
2025-11-13 19:11:34 +08:00
ghmark675 4f9ff3d1fe Merge pull request #322 from JasonDylan/fix/docker-env-file-config
fix: correctly load environment variables in docker-compose / fix: docker-compose 修复部署时网页无env配置
2025-11-13 18:34:03 +08:00
JasonDylan fd6ffaa012 fix: correctly load environment variables in docker-compose / fix: docker-compose 修复 Docker 部署时网页配置修改无效的问题 2025-11-12 14:55:23 +08:00
7 changed files with 29 additions and 16 deletions
+6 -6
View File
@@ -30,7 +30,7 @@ INSIGHT_ENGINE_API_KEY=
INSIGHT_ENGINE_BASE_URL=
INSIGHT_ENGINE_MODEL_NAME=
# Media Agent(推荐Gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9
# Media Agent(推荐gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9
MEDIA_ENGINE_API_KEY=
MEDIA_ENGINE_BASE_URL=
MEDIA_ENGINE_MODEL_NAME=
@@ -40,7 +40,7 @@ QUERY_ENGINE_API_KEY=
QUERY_ENGINE_BASE_URL=
QUERY_ENGINE_MODEL_NAME=
# Report Agent(推荐Gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9
# Report Agent(推荐gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9
REPORT_ENGINE_API_KEY=
REPORT_ENGINE_BASE_URL=
REPORT_ENGINE_MODEL_NAME=
@@ -61,9 +61,9 @@ KEYWORD_OPTIMIZER_BASE_URL=
KEYWORD_OPTIMIZER_MODEL_NAME=
# ================== 网络工具配置 ====================
# Tavily API密钥,用于Tavily网络搜索。注册地址:https://www.tavily.com/
# Tavily API密钥,用于Tavily网络搜索,申请地址:https://www.tavily.com/
TAVILY_API_KEY=
# Bocha Web/AI Search BASEURL,用于Bocha搜索。注册地址:https://open.bochaai.com/
BOCHA_BASE_URL=
# Bocha Web Search API密钥,用于Bocha搜索。注册地址:https://open.bochaai.com/
# Bocha AI Search BASEURL,用于Bocha多模态搜索,这里密钥名称虽然是Web Search,但其实是要AI Search的,申请地址:https://open.bochaai.com/
BOCHA_BASE_URL=https://api.bochaai.com/v1/ai-search
BOCHA_WEB_SEARCH_API_KEY=
+4 -1
View File
@@ -9,6 +9,7 @@ aiomysql==0.2.0
aiosqlite==0.21.0
asyncpg
sqlalchemy
psycopg[binary]
# ===============================
# HTTP请求和网络
@@ -20,6 +21,8 @@ aiofiles~=23.2.1
# ===============================
# 话题提取模块依赖
# ===============================
openai
pydantic-settings
numpy
pandas==2.2.3
regex
@@ -30,7 +33,7 @@ pytz
# ===============================
# MediaCrawler爬虫依赖
# ===============================
Pillow==9.5.0
Pillow>=10.0.0
playwright==1.45.0
tenacity==8.2.2
opencv-python
+1 -1
View File
@@ -639,7 +639,7 @@ This project is licensed under the [GPL-2.0 License](LICENSE). Please see the LI
### Contact Information
- 📧 **Email**: 670939375@qq.com
- 📧 **Email**: hangjiang@bupt.edu.cn
### Business Cooperation
+12 -3
View File
@@ -8,6 +8,8 @@
<a href="https://lioncc.ai/" target="_blank"><img src="./static/image/logo_loincc.png" alt="666ghj%2FBettaFish | Trendshift" height="40"/></a>&ensp;
<a href="https://share.302.ai/P66Qe3" target="_blank"><img src="./static/image/logo_302ai.png" alt="666ghj%2FBettaFish | Trendshift" height="40"/></a>
<a href="https://open.anspire.cn/?share_code=3E1FUOUH" target="_blank"><img src="./static/image/logo_anspire.png" alt="666ghj%2FBettaFish | Trendshift" height="50"/></a>
[![GitHub Stars](https://img.shields.io/github/stars/666ghj/BettaFish?style=flat-square)](https://github.com/666ghj/BettaFish/stargazers)
[![GitHub Watchers](https://img.shields.io/github/watchers/666ghj/BettaFish?style=flat-square)](https://github.com/666ghj/BettaFish/watchers)
[![GitHub Forks](https://img.shields.io/github/forks/666ghj/BettaFish?style=flat-square)](https://github.com/666ghj/BettaFish/network)
@@ -74,7 +76,7 @@
LLM模型API赞助:<a href="https://aihubmix.com/?aff=8Ds9" target="_blank"><img src="./static/image/logo_aihubmix.png" alt="666ghj%2FBettaFish | Trendshift" height="40"/></a>
<details>
<summary>(点开▶有赞助LLM算力福利)编程拼车codecodex.ai;编程算力VibeCodingAPI.ai</a><span style="margin-left: 10px"><a href="https://codecodex.ai/" target="_blank"><img src="./static/image/logo_loincc.png" alt="666ghj%2FBettaFish | Trendshift" height="40"/></a></summary>
<summary>有赞助LLM算力福利编程拼车codecodex.ai;编程算力VibeCodingAPI.ai</a><span style="margin-left: 10px"><a href="https://codecodex.ai/" target="_blank"><img src="./static/image/logo_loincc.png" alt="666ghj%2FBettaFish | Trendshift" height="40"/></a></summary>
1. 所罗门博客LionCC.ai已更新《BettaFish 微舆系统 - LionCC API 部署配置完全指南》正在二开优化一键部署和云服务器调用方案。
2. VibeCodingapi.ai狮子算力平台已经适配《BettaFish 微舆系统》所有LLM模型含claude code和openai codex和gemini cli编程开发三巨头算力。额度价格,只要一比一(100元等于100美刀额度)
@@ -88,6 +90,11 @@ LLM模型API赞助:<a href="https://aihubmix.com/?aff=8Ds9" target="_blank"><i
<img src="static/image/banner_302ai_ch.jpg" alt="banner">302.AI是一个按用量付费的企业级AI资源平台,提供市场上最新、最全面的AI模型和API,以及多种开箱即用的在线AI应用。
</details>
<details>
<summary>AI联网搜索、文件解析及网页内容抓取等智能体核心能力提供商:</a><span style="margin-left: 10px"><a href="https://open.anspire.cn/?share_code=3E1FUOUH" target="_blank"><img src="./static/image/logo_anspire.png" alt="666ghj%2FBettaFish | Trendshift" height="50"/></a></summary>
安思派开放平台(Anspire Open)是面向智能体时代的领先的基础设施提供商。我们为开发者提供构建强大智能体所需的核心能力栈,现已上线AI联网搜索【多版本,极具竞争力的价格】、文件解析【限免】及网页内容抓取【限免】、云端浏览器自动化(Anspire Browser Agent)【内测】、多轮改写等服务,持续为智能体连接并操作复杂的数字世界提供坚实基础。可无缝集成至Dify、Coze、元器等主流智能体平台。通过透明点数计费体系与模块化设计,为企业提供高效、低成本的定制化支持,加速智能化升级进程。
</details>
## 🏗️ 系统架构
### 整体架构图
@@ -218,7 +225,9 @@ BettaFish/
### 1. 启动项目
**运行命令:** 执行以下命令在**后台**启动所有服务:
复制一份 `.env.example` 文件,命名为 `.env` ,并按需配置 `.env` 文件中的环境变量
执行以下命令在后台启动所有服务:
```bash
docker compose up -d
@@ -640,7 +649,7 @@ class DeepSearchAgent:
### 联系方式
- 📧 **邮箱**670939375@qq.com
- 📧 **邮箱**hangjiang@bupt.edu.cn
### 商务合作
+5 -5
View File
@@ -47,22 +47,22 @@ class Settings(BaseSettings):
INSIGHT_ENGINE_MODEL_NAME: str = Field("kimi-k2-0711-preview", description="Insight Agent LLM 模型名称,例如 kimi-k2-0711-preview")
# Media Agent(推荐Gemini,推荐中转厂商:https://aihubmix.com/?aff=8Ds9
MEDIA_ENGINE_API_KEY: Optional[str] = Field(None, description="Media Agent(推荐 Gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9API 密钥")
MEDIA_ENGINE_API_KEY: Optional[str] = Field(None, description="Media Agent(推荐 gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9API 密钥")
MEDIA_ENGINE_BASE_URL: Optional[str] = Field("https://aihubmix.com/v1", description="Media Agent LLM BaseUrl,可根据中转服务调整")
MEDIA_ENGINE_MODEL_NAME: str = Field("gemini-2.5-pro", description="Media Agent LLM 模型名称,如 gemini-2.5-pro")
# Query Agent(推荐DeepSeek,申请地址:https://www.deepseek.com/
QUERY_ENGINE_API_KEY: Optional[str] = Field(None, description="Query Agent(推荐 DeepSeek,官方申请地址:https://platform.deepseek.com/API 密钥")
QUERY_ENGINE_API_KEY: Optional[str] = Field(None, description="Query Agent(推荐 deepseek,官方申请地址:https://platform.deepseek.com/API 密钥")
QUERY_ENGINE_BASE_URL: Optional[str] = Field("https://api.deepseek.com", description="Query Agent LLM BaseUrl")
QUERY_ENGINE_MODEL_NAME: str = Field("deepseek-chat", description="Query Agent LLM 模型名称,如 deepseek-reasoner")
# Report Agent(推荐Gemini,推荐中转厂商:https://aihubmix.com/?aff=8Ds9
REPORT_ENGINE_API_KEY: Optional[str] = Field(None, description="Report Agent(推荐 Gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9API 密钥")
REPORT_ENGINE_API_KEY: Optional[str] = Field(None, description="Report Agent(推荐 gemini-2.5-pro,中转厂商申请地址:https://aihubmix.com/?aff=8Ds9API 密钥")
REPORT_ENGINE_BASE_URL: Optional[str] = Field("https://aihubmix.com/v1", description="Report Agent LLM BaseUrl,可根据中转服务调整")
REPORT_ENGINE_MODEL_NAME: str = Field("gemini-2.5-pro", description="Report Agent LLM 模型名称,如 gemini-2.5-pro")
# MindSpider Agent(推荐Deepseek,官方申请地址:https://platform.deepseek.com/
MINDSPIDER_API_KEY: Optional[str] = Field(None, description="MindSpider Agent(推荐 DeepSeek,官方申请地址:https://platform.deepseek.com/API 密钥")
MINDSPIDER_API_KEY: Optional[str] = Field(None, description="MindSpider Agent(推荐 deepseek,官方申请地址:https://platform.deepseek.com/API 密钥")
MINDSPIDER_BASE_URL: Optional[str] = Field(None, description="MindSpider Agent BaseUrl,可按所选服务配置")
MINDSPIDER_MODEL_NAME: Optional[str] = Field(None, description="MindSpider Agent 模型名称,例如 deepseek-reasoner")
@@ -80,8 +80,8 @@ class Settings(BaseSettings):
# Tavily API(申请地址:https://www.tavily.com/
TAVILY_API_KEY: Optional[str] = Field(None, description="Tavily API(申请地址:https://www.tavily.com/API密钥,用于Tavily网络搜索")
BOCHA_BASE_URL: Optional[str] = Field("https://api.bochaai.com/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
# Bocha API(申请地址:https://open.bochaai.com/
BOCHA_BASE_URL: Optional[str] = Field("https://api.bochaai.com/v1/ai-search", description="Bocha AI 搜索BaseUrl或博查网页搜索BaseUrl")
BOCHA_WEB_SEARCH_API_KEY: Optional[str] = Field(None, description="Bocha API(申请地址:https://open.bochaai.com/API密钥,用于Bocha搜索")
# ================== Insight Engine 搜索配置 ====================
+1
View File
@@ -18,6 +18,7 @@ services:
volumes:
- ./logs:/app/logs
- ./final_reports:/app/final_reports
- ./.env:/app/.env
- ./insight_engine_streamlit_reports:/app/insight_engine_streamlit_reports
- ./media_engine_streamlit_reports:/app/media_engine_streamlit_reports
- ./query_engine_streamlit_reports:/app/query_engine_streamlit_reports
Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB