Chapter 3. User Interfaces

Before creating your own blockchain tethered AI (BTA) that incorporates blockchain tethers for the four AI controls from Chapter 2, consider how the UI of the BTA you create can make or break the system’s adoption. Often, people using a new system will be pleased so long as the system has a good look and feel, before they even dig into functionality. Conversely, difficult-to-use or disjointed interfaces will give the user a poor first impression, which is difficult to overcome.

If you have already started to test the sample code that is available for Hyperledger Fabric, you will find that while the examples are great for learning to code smart contracts, the UI for the application you generate from the sample code is very rudimentary. Most users would reject this type of an interface, and you couldn’t deploy it in an enterprise, since it is not even as sophisticated as commonly used personal systems like social media, banking, and online stores.

Sometimes, it doesn’t make sense to develop a new UI, such as when the system is only supplementing functionality performed by another system (like a continuous integration system that deploys approved trained models). In this case, you can do the integration in such a way that the two systems communicate via API, so the remote system causes a trail to be recorded on blockchain, completely transparent to the user. You may have other users accessing the same blockchain with a custom interface like a smartphone ...

Get Blockchain Tethered AI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.