0.5×← Perlahan · Cepat →
💬Tekan Play Demo untuk lihat Resource Allocation Agent mengatur sumber.
Demo Complete — All Stages Generated
01 WhatsApp Command
02 Requirement Analysis
Menunggu Sedang aktif Selesai
03 Python Script Generation
1
📥
Ambil jadual sumberDatabase — dewan, makmal, peralatan
2
🔍
Semak keperluanSlot masa, kapasiti, ketersediaan
3
Cari konflikKurangkan pertindihan jadual
4
📋
Jana jadualUrutan optimum berdasarkan prioriti
import requests, json, pandas as pd
API_RESOURCES = "https://api.univ.edu/v1/resources"
def fetch_resources():
resp = requests.get(API_RESOURCES)
return resp.json().get("resources", [])
def allocate_resources(resources, requests):
df = pd.DataFrame(resources)
allocations = []
for r in requests:
avail = df[(df["type"] == r["type"]) & (df["available"] == True)]
if len(avail) > 0:
allocations.append({"request": r, "allocated": avail.iloc[0]["id"]})
df.loc[df["id"] == avail.iloc[0]["id"], "available"] = False
return allocations
allocation = allocate_resources(fetch_resources(), class_requests)
print(json.dumps(allocation))
04 Block Diagram
Menunggu Sedang aktif Selesai
05 System Schematic
Menunggu Sedang aktif Selesai
⚠️ Jangan ubah jadual sumber tanpa pengesahan pihak berkuasa.
06 Simulasi Pengurusan Sumber
Mula Analisis
Dewan A - Slot 1Lecture Hall
Makmal Komputer 1Lab
Projektor EpsonEquipment
Dewan B - Slot 2Lecture Hall
Makmal KimiaLab
07 Resource Allocation Report
Terminal Log
[SISTEM] Resource Allocation Agent sedia
System Architecture
🤖 Agent Layer
Resource picker
Conflict resolver
Schedule optimizer
LLM scheduler
🎓 Education Layer
Resource DB
Class schedules
Inventory
Allocation export
Safety Notes
- Human approval required for resource scheduling changes.
- Verify resource availability before confirming allocations.
- Check safety protocols for lab equipment.
- Browser demo does not modify actual schedules.