DEMO DATA: all schedules, services and prices are fictional. They are not JHC prices or verified departures, and enquiries are not sent.

Local demo: no sign-in27 Nov 2026

← All help and SOPs

JHC-UG-06

AI Feature Guide — JHC Logistics Portal

What the assistants do, the checks, human review and fallback.

Draft for reviewVersion 0.1
ItemDetail
Document referenceJHC-UG-06
Version0.1
StatusDraft for review · Internal (section 3 may be adapted for customers)
Prepared27 October 2026
Application version documentedPortal 0.3.0, commit 4d7b861 (staff assistant) plus uncommitted working-tree changes of 27 Oct 2026 (customer assistant)
AudienceStaff, administrators, and JHC management deciding on an AI pilot
Document ownerTo be assigned (JHC)
ApproverTo be assigned
Effective dateNot set: draft
Related documentsAI_STAFF_GUIDE.md (earlier staff guide), AI_PILOT_READINESS.md, AI_DATA_HANDLING.md, AI_EVALUATION_REPORT.md

Table 1: Revision history

VersionDateChangeBy
0.127 Oct 2026First guide covering both assistants and the AI functions that are not builtPrepared with Claude (AI assistant) for JHC review

1. What is real today

Warning: No real AI model has been connected or tested. JHC has no AI provider key yet, no model is chosen, and legal approval to send enquiry text to the provider is pending. Every picture in this guide shows the practice assistant: a few fixed rules built into the portal, labelled "Practice assistant, not AI". It shows how the screens and safeguards work, not how good a real AI model would be.

Table 2: AI functions: what exists

FunctionExists?Status
Customer "Describe your requirement" assistantBuiltB (practice assistant only) · live model C
Staff enquiry summary and details foundBuilt (enquiry assistant)B · live C
Missing-information checkBuilt, no AI: uses the form's own rulesA · Verified
Service suggestionsBuilt inside both assistants (published services only)B · live C
Approved-rate suggestionsNot builtD
Quotation wording draftsNot builtD
Extraction from attached documentsNot built (files are never sent to AI)D
Schedule explanationsNot builtD

AI drafts text; it never calculates prices. All prices come from rates and the pricing rules (JHC-SOP-02). The portal removes any price an assistant invents.

AI-assisted workflow with checks, human review and manual fallback (FLOW-09)
Figure 1: AI-assisted workflow with checks, human review and manual fallback (FLOW-09)

2. Staff: the enquiry assistant

AI-01 Missing-information check (no AI)

Entry pointStaff enquiry page → Enquiry assistant → Missing information
InputThe enquiry as saved
Sent externallyNothing
OutputList of missing items (Form rule or Proposed check) and a message in English or Bahasa Malaysia
StatusA · Verified. The question wording is a draft awaiting JHC approval (B8)

Steps: JHC-UG-02 STF-05 and STF-06.

AI-02 Ask the assistant (staff)

Entry pointStaff enquiry page → Ask the assistant (only if switched on)
Required inputA saved enquiry
Sent to the providerThe enquiry's own text and service details, and customer replies, with phone numbers and emails masked; JHC's published service list. Not sent: names, company, emails, files, internal notes, rates, costs
OutputSummary; details found, each with "Found in the enquiry: …"; services possibly also needed; points to check; suggested questions
Checks before you see itEvery quote must exist in the enquiry; numbers must be in their quote; invented prices removed; unknown or hidden services removed. Removed items are listed under Removed by the portal's checks
Human reviewMark each detail Correct / Wrong (with Correct value); each service Needed / Not needed; each point Valid / Not valid; edit the summary
ConfirmationSave my review. The enquiry itself is never changed
StatusB (practice) · live C
Staff assistant draft (practice assistant)
Figure 2: Staff assistant draft (practice assistant)

Table 3: AI-02 steps

StepActionExpected resultIf not
1Ask the assistantWithin about 30 seconds: AI draft: check every item (1); on the test copy also Practice assistant, not AI (2)A plain message (off, stopped, busy, over a limit, or failed): use the missing-information check
2Compare every item with its Found in the enquiry quote (3)Watch for a right value from the wrong place (e.g. destination given as origin)
3Mark and correct each itemQuestions for services marked Needed are added to the message
4Save my review (4)"Review saved. The enquiry itself has not been changed."
5If you want to ask the customer, copy the message into Change status → Awaiting informationOnly that step reaches the customer

3. Customers: "Describe your requirement"

AI-03 Customer assistant

Entry pointRequest a quotation, card Describe your requirement (optional): signed-in customers only, when switched on
Required inputThe customer's description, 10 to 2,000 characters, English or Bahasa Malaysia
Sent to the providerThat text with phone numbers and emails masked, and JHC's published service list. Nothing else; nothing typed is stored by the assistant
OutputSuggested services and form values, each with "From your words: …"; You will still need to fill in; Please check notes
ChecksValue must quote the customer's words; numbers in the quote; units stated (tonnes converted exactly); dates written out and not in the past; values pass the form's own rules; prices and unpublished services never used
Human reviewCorrect a value or untick Use this; untick a service
ConfirmationPut into the form (nothing is sent), then the customer checks the ordinary form and selects Submit enquiry
StatusB (practice) · live C
Describe your requirement (practice)
Figure 3: Describe your requirement (practice)
Check what the assistant understood (practice)
Figure 4: Check what the assistant understood (practice)

Limitations (on purpose): numbers written as words ("dua kontena"), relative dates ("next week") and amounts without units are left for the customer to fill in. If the text contains instructions to the assistant (e.g. "ignore previous instructions"), a Please check note says they were not followed.

4. Failures and manual fallback

Table 4: What happens when AI is unavailable

SituationCustomer seesStaff seeFallback
Switched offNo assistant cardNo Ask the assistantOrdinary form / missing-information check
Emergency stopA short message"emergency stop" messageSame
Over a per-person or total limit, or budget reachedA short messageSameSame
Time-out, provider error, refusal, cut-off or invalid answer"…fill in the form below"Plain messageSame

Every request is recorded (who, when, outcome, time, estimated cost) without any enquiry text.

5. Administration and cost

Settings: JHC-UG-03 ADM-08. Before a real model is used:

  1. JHC legal approves sending masked enquiry text to the provider (B3).
  2. Zero data retention is requested from the provider (B4).
  3. A model is chosen and the evaluation is run and reviewed (npm run ai:eval, see AI_EVALUATION_REPORT.md).
  4. Staff assistant first, for two weeks; then the customer assistant for pilot customers.

Table 5: Estimated cost per request (US$, estimates from published prices, 27 Oct 2026; not measured)

ModelCustomer assistantStaff assistant
Claude Opus 5.5≈ 0.02–0.04≈ 0.02–0.06
Claude Sonnet 5.5≈ 0.01–0.02≈ 0.01–0.03
Claude Haiku 5.5≈ 0.001≈ 0.001–0.002

The monthly budget is US$10 by default; at the limit the assistants stop. Details: AI_PILOT_READINESS.md.