pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证In crisis situations, humanitarian organizations rely on local, affected people for intelligence. Open Seldon leverages social media sentiment analysis of Telegram communities to democratize which voices are heard by transforming unstructured, multilingual public data into actionable humanitarian intelligence.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A visual analytics platform that transforms unstructured, multilingual Telegram data from refugee communities into actionable humanitarian intelligence.
• Scrapes public Telegram channels using the Telegram API
• Translates multilingual messages to English via Claude
• Classifies messages into a humanitarian needs taxonomy (IOM categories)
• Extracts and geocodes locations mentioned in messages
• Stores structured data and semantic embeddings in PostgreSQL + pgvector
• Serves an interactive dashboard: map, category distribution, streaming chatbot, executive summary generator查看完整 README ↗A visual analytics platform that transforms unstructured, multilingual Telegram data from refugee communities into actionable humanitarian intelligence.
| Layer | Technology |
|---|---|
| Backend API | FastAPI (Python, async) |
| Database | PostgreSQL 16 + pgvector |
| AI/LLM | Claude API (Anthropic) |
| NER / categorization | GLiNER2 (HuggingFace) |
| Embeddings | all-MiniLM-L6-v2 (sentence-transformers) |
| Geocoding | Nominatim (geopy) |
| Frontend | Next.js (TypeScript) |
| Infrastructure | Docker Compose |
.env file (copy from .env.example and fill in values)cp .env.example .env
# fill in ANTHROPIC_API_KEY, TELEGRAM_API_ID, TELEGRAM_API_HASH, etc.
docker compose -f docker-compose.yml -f docker-compose.local.yml up --build
The API will be at http://localhost:8000, docs at http://localhost:8000/docs, and the web app at http://localhost:3000.
# Scrape a Telegram channel
docker compose exec api python -m pipeline.scraper --channel polska_grupa_informacyjna
# Scrape every enabled channel and process everything waiting (what the daily job runs)
docker compose exec api python -m pipeline.run_daily
api/ FastAPI backend + processing pipeline
web/ Next.js frontend
scripts/ Database init, utility scripts
.github/ CI workflows
See CODE_OF_CONDUCT.md. Issues and pull requests welcome.
MIT — see LICENSE.