İlknur ÖzcomartSeaCodeTREN

Blog

An honest interface when designing an AI assistant

· Artificial Intelligence

Not presenting a rule-based answer as AI is the simplest step towards trust.

In assistant interfaces it is easy to assume every answer comes from AI. But users have a right to know who produced the answer.

Show the source

KADRAN’s assistant is rule-based for now. Under every answer it says “Source: Rule-based · not AI”. When a real AI provider is connected, this label will change. For that I built the assistant layer on a provider-independent contract.

Suggest first, apply later

Before the assistant adds anything to the calendar it shows the suggestion. Nothing is saved until the user confirms, and every applied change can be undone.

The secret key does not live in the browser

If an AI service’s API key is put in browser code, anyone can see it. The right way is a small intermediate service that keeps the key on the server. KADRAN’s interface is ready for that, but no such service is connected yet.

Do not trust what comes back

A response from a provider is validated before it enters the app: its shape, length and date and time values are checked, and anything invalid is dropped.

AIUXtrustassistant

Next post