0.5×← Perlahan · Cepat →
💬Tekan Play Demo untuk lihat bagaimana Damaged Stock Report Agent mengesan kerosakan stok.
Demo Complete — All Stages Generated
01 WhatsApp Command
02 Requirement Analysis
Menunggu Sedang aktif Selesai
03 Python Script Generation
1
📥
Ambil data stokFetch inventory records
2
🔍
Kenal pasti rosakFlag damaged items
3
💰
Kira kerugianEstimate loss value
4
📋
Laporan & write-offGenerate report and flag write-offs
import pandas as pd
from datetime import datetime
def load_inventory(csv_file):
df = pd.read_csv(csv_file)
return df[df['condition'] == 'damaged']
def estimate_loss(df):
df['loss'] = df['qty'] * df['unit_price']
return df['loss'].sum()
damaged = load_inventory('inventory.csv)
total_loss = estimate_loss(damaged)
write_offs = damaged[damaged['loss'] > 1000]
print(json.dumps({'total_loss':total_loss, 'write_offs': len(write_offs)}))
04 Block Diagram
Menunggu Sedang aktif Selesai
05 System Schematic
Menunggu Sedang aktif Selesai
⚠️ Verify damaged stock reports with physical inspection before write-off approval.
06 Simulasi Damaged Stock Report
Mula Pemeriksaan
07 Damaged Stock Report
Terminal Log
[SISTEM] Damaged Stock Report Agent sedia
System Architecture
🤖 Agent Layer
Stock data fetcher
Damage classifier
Loss estimator
LLM analyzer
📦 Inventory Layer
Inventory DB
Stock records
Write-off system
Reports
Safety Notes
- Verify damaged stock physically before flagging write-offs.
- Configure approval workflow for high-value write-offs.
- Loss estimates must follow accounting standards.
- Browser demo uses simulated data only.