Love.Law.Robots. by Ang Hou Fu

I haven't wrote much in a while as I've been taking a break, and a step back to evaluate what I should do next. (Like figuring out whether I should continue this Federated experience or go back to Wordpress or something else)

I have a lot to catch up but I thought I would touch on something straightforward first.

A cruise ship is docked in Singapore. Source:

I just came back from a cruise trip. Obviously I have heard of them but I considered them inferior to flying to a new destination. After some curiousity and bouts of cajoling, I decided to do it.

It turned out to be an interesting experience, to say the least.

As an independent and immaculate planner, I am used to being in control of my itinerary. On a cruise though, you have a menu of activities, and nowhere else to go.

Although I find many of the activities honestly lame, I did appreciate the fact that I didn't have to organise or fix up all the details around the holiday, including contingency plans.

Furthermore, before and during the cruise, I didn't have much of the information I am used to. The website was short of details (except the upselling), and the app was useless.

The best and only way to get accurate information on what's going on in the ship was: to ask someone on the ship.

Anyway, if being on holidays was about gaining new experiences, I think my family and I adapted OK to this strange way of having a holiday.

This is a great reminder that there is a critical mass of people who don't like to go through websites, guides and RTFM to do things and rely on their networks to gain information and connections.

So if you're wondering why people simply don't want to fill in your form or talk to your chatbot even when it's the simplest and most convenient thing in the world, there's probably a different perspective.

Or at least you can wish they can be sent off on a cruise to nowhere.

Author Portrait Love.Law.Robots. – A blog by Ang Hou Fu

Two people seated at a table. conversation. A robot barista behind them. Friendly. Warm. Inviting.

Since receiving support requests and development ideas all over the place for redlines, I decided to try running a #Matrix room to centralise some discussion and an informal venue to ask weird and “stupid” questions. Since I am in the mood for experimentation, I wanted to run robots in my room. For my redlines room, I wanted a robot to track the activity on the GitHub repo, and welcome new users by posting what is the purpose of the room etc.

I was surprised to find very little documents or bots on how to run a matrix bot. I decided to go with maubot because I like the idea of plugins. While the interface and the docs leaves something to be desired, it’s actually relatively straightforward. Here’s a short write-up/#tutorial of how I did it in case it helps someone out there.


Should I submit this as a talk to #geekcampsg? I originally reserved this for Tech.Law.Fest, but chickened out when I was not sure there was an opportunity to speak. (On hindsight, my hunch was probably right.)I am thinking about lots of things: is this an interesting topic to share, is it a 5-10 mins or 30-45 mins presentation? While I continue procrastinating on taking the plunge, I thought I would outline the topic here for future reference. Feel free to let me know of your comments!

A lawyer is drawing thick red lines on a document.


A mouse looks up to a sky with a moon and stars

I’ve been kinda hot and cold on Retrieval Augmented Generation (RAG).

I rushed in and experimented early using an overview of Singapore law. After seeing other locals try to implement them, I scoffed at it. I dismissed it as “grab three relevant articles from my vector db and ask #ChatGPT to write an answer on it”. Now I am going to have a second go.


Cover Image by <a href="">Mohamed Hassan</a> from <a href="">Pixabay</a>

I used to think #chatbots are lame. You type stuff in and pray the “AI” understood what you said. If you knew what you want, you’re not going to ask nicely. Just give me a button or a dropdown!

With #GenAI like #ChatGPT, the odds of hitting the mark with your program have improved. I explored making a legal chatbot early on but I hit a dead-end when I couldn’t figure out what the use case is.

Even if I did figure out a use case, the next problem if I wanted to take it to the next level is pricing. How do you charge someone for using your legal chatbot?


I saw this post the other day that got me thinking about how I learnt to #code.

It was a great opportunity for me to revisit a post I wrote nearly a year ago on the subject: So you want to code? (Lawyer Edition)


Watching large language models spew words at each other hasn't improved my understanding of them.



Houfu dreams of having his #MachineLearning tool for years but will still have to wait longer.

Screenshot from Prodigy showing a/b testing of prompts


I attended a roundtable organised by the #Singapore Academy of Law titled “Generative AI and the Impact on Law and Society”. Although they weren't able to end the seminar without talking about misinformation, I was glad that the technical detail (both on the engineering and legal level) were more advanced. I even heard the word of a Legal #GPT trained on the datasets of local legal materials.


Large language models like #ChatGPT present a unique opportunity to train #lawyers in new ways. I discuss a simple courtroom #simulator I created that is able to mimic the cuts and thrusts of advocacy, and wonder whether anyone will use it.

A cockpit with many lights; Photo by <a href="">Johannes Blenke</a> on <a href="">Unsplash</a>


Enter your email to subscribe to updates.