A Telegram bot that converts natural-language work descriptions into detailed cost estimates using AI parsing, vector search, and the open-source DDC CWICR database with 55,000+ construction work items.
Supports 9 languages: 🇩🇪 DE · 🇬🇧 EN · 🇷🇺 RU · 🇪🇸 ES · 🇫🇷 FR · 🇧🇷 PT · 🇨🇳 ZH · 🇦🇪 AR · 🇮🇳 HI
┌─────────────┐ ┌──────────────┐ ┌─────────────┐ ┌──────────────┐
│ Telegram │ → │ AI Parse │ → │ Embeddings │ → │ Qdrant │
│ Text Input │ │ (GPT/Claude)│ │ (OpenAI) │ │ Search │
└─────────────┘ └──────────────┘ └─────────────┘ └──────────────┘
↓
┌─────────────┐ ┌──────────────┐ ┌─────────────┐ ┌──────────────┐
│ Export │ ← │ Aggregate │ ← │ Calculate │ ← │ AI Rerank │
│ HTML/XLS/PDF│ │ Results │ │ Costs │ │ Results │
└─────────────┘ └──────────────┘ └─────────────┘ └──────────────┘
Step-by-step:
/start → selects language → enters work descriptiontext-embedding-3-small)| Component | Requirement |
|---|---|
| n8n | v1.30+ (AI nodes support) |
| Telegram Bot | Token from @BotFather |
| OpenAI API | For embeddings + LLM parsing |
| Qdrant | Vector DB with DDC CWICR collections loaded |
| DDC CWICR Data | github.com/datadrivenconstruction/DDC-CWICR |
bot_token = YOUR_TELEGRAM_BOT_TOKEN
QDRANT_URL = http://localhost:6333
QDRANT_API_KEY = (if using Qdrant Cloud)
Load DDC CWICR collections for your target languages:
DE_construction_rates — German (STLB-Bau based)EN_construction_rates — EnglishRU_construction_rates — Russian (GESN/FER based)/start in your bot| Feature | Description |
|---|---|
| 🤖 Multi-LLM | Swap between OpenAI, Claude, Gemini |
| 🌍 9 Languages | Full UI + database localization |
| 📝 Smart Parsing | Handles lists, tables, free-form text |
| 🔍 Semantic Search | Vector similarity + AI reranking |
| 📊 Cost Breakdown | Labor, materials, machines, hours |
| ✏️ Inline Edit | Modify quantities, delete items |
| 📤 Export | HTML report, Excel, PDF |
| 💾 Session State | Multi-turn conversation support |
Input (Telegram message):
Living room renovation:
- Laminate flooring 25 m²
- Wall painting 60 m²
- Ceiling plasterboard 25 m²
- 3 electrical outlets
Output:
✅ Estimate Ready — 4 items found
1. Laminate flooring ✓
25 m² × €18.50 = €462.50
└ Labor: €125 · Materials: €337.50
2. Wall painting ✓
60 m² × €8.20 = €492.00
└ Labor: €312 · Materials: €180
3. Ceiling plasterboard ✓
25 m² × €32.00 = €800.00
└ Labor: €425 · Materials: €375
4. Electrical outlets ✓
3 pcs × €45.00 = €135.00
└ Labor: €95 · Materials: €40
─────────────────────
Total: €1,889.50
[↓ Excel] [↓ PDF] [↻ Restart]
Config node for UI text, currencies, database mappingAI · Data Extraction · Communication · Files & Storage
telegram-bot, construction, cost-estimation, qdrant, vector-search, openai, multilingual, bim, cad
DataDrivenConstruction.io
https://DataDrivenConstruction.io
[email protected]
We help construction, engineering, and technology firms implement:
Contact us to test with your data or adapt to your project requirements.
⭐ Star us on GitHub! github.com/datadrivenconstruction/DDC-CWICR