A multi-platform chatbot for property consultations, integrated with Any Website Discord and Telegram using Hybrid AI with NLP and Rule-Based System.
- Menjawab pertanyaan tentang proyek properti
- Memberikan informasi harga, fasilitas, dan lokasi
- Rekomendasi proyek berdasarkan lokasi
- Sistem konsultasi privat di Discord
- Tersedia di Discord, Telegram, dan Web
├── backend/
│ ├── app.py # Aplikasi utama (FastAPI)
│ ├── local_nlp.py # Modul NLP lokal
│ └── requirements.txt # Dependensi Python
├── dialogflow_kianoland/ # Data pelatihan Dialogflow
│ ├── entities/ # Entitas sistem
│ └── intents/ # Intents dialog
├── frontend/ # Antarmuka web chatbot
│ ├── index.html
│ ├── script.js
│ └── style.css
└── .env # Konfigurasi lingkungan
- Clone repositori:
git clone https://github.com/Kianoland-Group/Kianoland-Group-ChatBot-AI.git
cd Kianoland-Group-ChatBot-AI
- Buat virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
- Instal dependensi:
pip install -r backend/requirements.txt
- Buat file
.env
dengan konten:
DISCORD_TOKEN=your-bot-discord-token
TELEGRAM_TOKEN=your-bot-telegram-token
TELEGRAM_WEBHOOK_URL=your-ngrok-url/telegram-webhook
DEDICATED_CHANNEL_ID=your-discord-channel-id
- Jalankan backend:
uvicorn backend.app:app --reload --port 8000
- Buka frontend:
- Buka file
frontend/index.html
di browser
- Untuk Discord bot:
- Bot akan otomatis berjalan setelah backend dijalankan
- Untuk Telegram:
- Pastikan webhook sudah terdaftar di
TELEGRAM_WEBHOOK_URL
POST /detect-intent
- Deteksi intent dari teksPOST /chat
- Endpoint chat untuk webPOST /telegram-webhook
- Webhook TelegramPOST /discord-webhook
- Webhook DiscordGET /health
- Health check
- Fork repositori
- Buat branch fitur baru (
git checkout -b fitur-baru
) - Commit perubahan (
git commit -am 'Tambahkan fitur'
) - Push ke branch (
git push origin fitur-baru
) - Buat pull request