Alyen: 5 Unusual Lessons My First LawBot Taught Mehttps://i1.wp.com/www.legalcomplex.com/wp-content/uploads/2016/07/Alyen-3.png?fit=1024%2C576&ssl=1 1024 576 Raymond Blijd Raymond Blijd https://secure.gravatar.com/avatar/08e33d46f1379d84f485e8f78032975c?s=96&d=mm&r=g
Read time: 5 min.
Last update:March 22, 2017
You may fail
When you try Alyen, remember: I may be the least qualified person to attempt this. I’m not specialized in Immigration Law but I had suffered thru the process. I do have a degree in Legal Knowledge Engineering from the University of Amsterdam, which qualifies me to code legal knowledge into computer systems. Actually, I’m lucky because they scrapped the course shortly after I graduated. I believe there aren’t that many of us out there so I’m hoping to bring it back.
— LegaLCompleX (@legalcomplex) August 20, 2016
The real reason I created Alyen is to fail fast and learn. Growing up on legal inferencing engines, I was curious to find out if chatbots, with machine learning and natural language processing, are the next level. Yet, ‘teaching‘ chatbots requires a different approach and mindset. However, legal professionals are hard wired to avoid risk. So the Lawyer in me wanted Alyen to be perfect and risking failure wasn’t acceptable. The Creator in me gave me the courage to stumble as long as I got back up.
So if you think Alyen doesn’t work, let me know in the form below. I’d be happy to hear it because in Life and in Law, we can all use data to improve.
You can cheat
Cheating is when you take a shortcut to success or create something fake which actually reflects an aspiration rather than the reality. Gamers use cheats, programmers use hacks. In programming, cheats are a healthy way to trim code or for your constituents to let you know how they expect your app to work. I ran into numerous obstacles trying to build Alyen. A major hurdle was that I needed to use webhooks to make it truly intelligent. I will, once I get the hang of it and learn how to connect it to Zapier. Webhooks would have enabled me to save and calculate the answer faster. Example if a user would state in the chat: “I’m a Syrian Refugee and I would like to know my chances”. My goal was to parse it as follows:
Question: “I’m a [first instance] Syrian [ nationality] Refugee [goal] and I would like to know my chances [metrics]”
Answer: You have 98% chance your application would be accepted.
Maybe it’s my limited technical expertise. Or maybe I should ‘cheat’ and use another platform.
You should slow down
What I realized is that having a conversation maybe one of the quickest ways to transfer complicated information. As in my example above, normal legal expert systems needed many questions to get ambiguity out of the way. With more powerful natural language processing, it’s easier to parse questions in chunks and offer up an answer immediately. However, I discovered that speed isn’t always helpful when providing complex conclusions. When running my “Syrian Refugee” simulation and offering my instant answer I didn’t believe it myself. I expected Alyen to ponder my question and display the strain it took me to get that answer. Then I remember this article about why Facebook purposefully slows it services down in order for the human brain to get a grip of what information is put forward.
You will understand
Meanwhile, I discovered chatbots are an amazing legal service design tool. Chatbots have an intimate conversation with your users. During the conversation, it becomes blatantly obvious where your user journey is broken. Alyen had over 200 conversations since it’s launched and I can report that most didn’t go as I expected. Moreover, most didn’t follow the path I initially set out (immigrants) but rather were more interested in testing (experience). With this data, I’m now pondering a pivot for Alyen from Immigration to something else. Nevertheless, chatbots are the reality check on any service. They have been called the best prototyping tool and the most insightful way to get user feedback.
— LegaLCompleX (@legalcomplex) September 11, 2016
I used motion.ai because it looked the easiest for me to use. There are many platforms and resources to choose from and I found Chatbots Magazine a useful starting place. Once you’re ready to pick your platform, you can head on over to botlist.co to pick one. If you need some inspiration, here are a couple of Lawbots :
- How to Build a Law Bot : provides an overview of how to code in Python and example of a bot on caselaw.
- Legal Bots: A Partner’s Little Helper : provides examples of types of bots lawyers may want to build.
- Now You Can Put a Chat Bot in Charge of Your Potential-Client Intake : round up of law chatbots
- Legal technology: the rise of the chatbots
- Lawbot.info: a chatbot focused criminal offenses;
- Do Not Pay: well-known traffic ticket chatbot;
- Appjection: dutch version of Do Not Pay
- Visabot: US Immigration bot in Facebook messenger;
- Lawdroid: Incorporate your business in Facebook messenger;
- Oblo: answers legal issues & recommends lawyers in Facebook messenger;
- Liza: French legal chat bot;
- Alyen: my courageous attempt to provide clarity to immigration;
When you try Alyen and other bots please realize: a typical calculator can calculate faster than any human being but the calculator itself can not comprehend what it’s true purpose is. Robots are merely a tool and the real potential resides in our imagination. We get gentle reminders every day, even with their flaws bots are able to judge our laws. So lets us advance and see beyond.
**Added: Rise of Chatbots by Lawgazette.
**Updated Nov, 23, 2016: Oblo added
**Updated Nov, 18, 2016: Visabot & Lawdriod added