Showing
1 changed file
with
14 additions
and
5 deletions
| @@ -160,6 +160,7 @@ BettaFish/ | @@ -160,6 +160,7 @@ BettaFish/ | ||
| 160 | │ └── utils/ # Utility functions | 160 | │ └── utils/ # Utility functions |
| 161 | │ ├── __init__.py | 161 | │ ├── __init__.py |
| 162 | │ ├── config.py # Configuration management | 162 | │ ├── config.py # Configuration management |
| 163 | +│ ├── db.py # SQLAlchemy async engine + read-only query helpers | ||
| 163 | │ └── text_processing.py # Text processing tools | 164 | │ └── text_processing.py # Text processing tools |
| 164 | ├── ReportEngine/ # Multi-round report generation Agent | 165 | ├── ReportEngine/ # Multi-round report generation Agent |
| 165 | │ ├── agent.py # Orchestrates template → layout → budget → chapter → render pipeline | 166 | │ ├── agent.py # Orchestrates template → layout → budget → chapter → render pipeline |
| @@ -188,9 +189,6 @@ BettaFish/ | @@ -188,9 +189,6 @@ BettaFish/ | ||
| 188 | │ ├── utils/ # Config/log helpers | 189 | │ ├── utils/ # Config/log helpers |
| 189 | │ │ └── config.py # Pydantic settings + printer | 190 | │ │ └── config.py # Pydantic settings + printer |
| 190 | │ ├── report_template/ # Markdown template library | 191 | │ ├── report_template/ # Markdown template library |
| 191 | -│ │ ├── 社会公共热点事件分析.md | ||
| 192 | -│ │ ├── 商业品牌舆情监测.md | ||
| 193 | -│ │ └── ... # More templates | ||
| 194 | │ └── ... # Misc caches, __init__.py, etc. | 192 | │ └── ... # Misc caches, __init__.py, etc. |
| 195 | ├── ForumEngine/ # Forum engine simple implementation | 193 | ├── ForumEngine/ # Forum engine simple implementation |
| 196 | │ ├── monitor.py # Log monitoring and forum management | 194 | │ ├── monitor.py # Log monitoring and forum management |
| @@ -211,16 +209,21 @@ BettaFish/ | @@ -211,16 +209,21 @@ BettaFish/ | ||
| 211 | │ └── schema/ # Database schema | 209 | │ └── schema/ # Database schema |
| 212 | │ ├── db_manager.py # Database manager | 210 | │ ├── db_manager.py # Database manager |
| 213 | │ ├── init_database.py # Database initialization | 211 | │ ├── init_database.py # Database initialization |
| 214 | -│ └── mindspider_tables.sql # Database table structure | 212 | +│ ├── mindspider_tables.sql # Database table structure |
| 213 | +│ ├── models_bigdata.py # SQLAlchemy models for large media crawling tables | ||
| 214 | +│ └── models_sa.py # ORM base and topic/task models | ||
| 215 | ├── SentimentAnalysisModel/ # Sentiment analysis model collection | 215 | ├── SentimentAnalysisModel/ # Sentiment analysis model collection |
| 216 | │ ├── WeiboSentiment_Finetuned/ # Fine-tuned BERT/GPT-2 models | 216 | │ ├── WeiboSentiment_Finetuned/ # Fine-tuned BERT/GPT-2 models |
| 217 | -│ ├── WeiboMultilingualSentiment/# Multilingual sentiment analysis (recommended) | 217 | +│ ├── WeiboMultilingualSentiment/ # Multilingual sentiment analysis (recommended) |
| 218 | │ ├── WeiboSentiment_SmallQwen/ # Small parameter Qwen3 fine-tuning | 218 | │ ├── WeiboSentiment_SmallQwen/ # Small parameter Qwen3 fine-tuning |
| 219 | │ └── WeiboSentiment_MachineLearning/ # Traditional machine learning methods | 219 | │ └── WeiboSentiment_MachineLearning/ # Traditional machine learning methods |
| 220 | ├── SingleEngineApp/ # Individual Agent Streamlit applications | 220 | ├── SingleEngineApp/ # Individual Agent Streamlit applications |
| 221 | │ ├── query_engine_streamlit_app.py | 221 | │ ├── query_engine_streamlit_app.py |
| 222 | │ ├── media_engine_streamlit_app.py | 222 | │ ├── media_engine_streamlit_app.py |
| 223 | │ └── insight_engine_streamlit_app.py | 223 | │ └── insight_engine_streamlit_app.py |
| 224 | +├── query_engine_streamlit_reports/ # QueryEngine Streamlit outputs (Markdown + state) | ||
| 225 | +├── media_engine_streamlit_reports/ # MediaEngine Streamlit outputs (Markdown + state) | ||
| 226 | +├── insight_engine_streamlit_reports/ # InsightEngine Streamlit outputs (Markdown + state) | ||
| 224 | ├── templates/ # Flask templates | 227 | ├── templates/ # Flask templates |
| 225 | │ └── index.html # Main interface frontend | 228 | │ └── index.html # Main interface frontend |
| 226 | ├── static/ # Static resources | 229 | ├── static/ # Static resources |
| @@ -228,9 +231,15 @@ BettaFish/ | @@ -228,9 +231,15 @@ BettaFish/ | ||
| 228 | ├── final_reports/ # Final generated HTML report files | 231 | ├── final_reports/ # Final generated HTML report files |
| 229 | ├── utils/ # Common utility functions | 232 | ├── utils/ # Common utility functions |
| 230 | │ ├── forum_reader.py # Agent forum communication | 233 | │ ├── forum_reader.py # Agent forum communication |
| 234 | +│ ├── github_issues.py # Helper to prefill GitHub issue links and errors | ||
| 231 | │ └── retry_helper.py # Network request retry mechanism tool | 235 | │ └── retry_helper.py # Network request retry mechanism tool |
| 236 | +├── tests/ # Targeted pytest suites | ||
| 237 | +│ ├── run_tests.py # pytest entry helper | ||
| 238 | +│ ├── test_monitor.py # ForumEngine monitor tests | ||
| 239 | +│ └── test_report_engine_sanitization.py # ReportEngine sanitization tests | ||
| 232 | ├── app.py # Flask main application entry | 240 | ├── app.py # Flask main application entry |
| 233 | ├── config.py # Global configuration file | 241 | ├── config.py # Global configuration file |
| 242 | +├── docker-compose.yml # Orchestrates multi-service deployment | ||
| 234 | └── requirements.txt # Python dependency list | 243 | └── requirements.txt # Python dependency list |
| 235 | ``` | 244 | ``` |
| 236 | 245 |
-
Please register or login to post a comment