- 将news/batch API从内存存储改为PostgreSQL
- 添加企业实体识别功能(Lagos-inspired)
- 创建三个数据表:news_articles, risk_analyses, entity_mentions
- 实现分页和过滤功能
- 支持在新闻中搜索企业实体
- 添加完整的测试脚本和文档
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
5 lines
No EOL
207 B
Text
5 lines
No EOL
207 B
Text
# PostgreSQL Database Configuration
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/perplexica
|
|
|
|
# Example with actual values:
|
|
# DATABASE_URL=postgresql://postgres:postgres@localhost:5432/perplexica_db |