CUHK LAW CLINDS’s 23rd LegalTech Seminar – ‘Using ChatGPT: Prompt Engineering for Lawyers’ by Dr. Eliza Mik (Online)
20 Nov 2023
12:30 pm – 2:00 pm
Dr. Eliza Mik teaches Legal Technologies, E-Commerce Law and Contract Law at the Faculty of Law, Chinese University of Hong Kong. Her research interests focus on the legal aspects of transaction automation. Before joining academia, she worked in-house for a number of software and telecommunications companies in Australia, Poland, Malaysia and the United Arab Emirates, advising on technology procurement and e-commerce regulation. Eliza has also advised the World Bank and the Monetary Authority of Singapore. At present, she is a member of the UNCITRAL Expert Group for the Digital Economy, a member of the Inclusive Global Legal Innovation Platform on ODR (Hong Kong), a Research Associate at the Tilburg Institute for Law, Society and Technology and an Affiliate Researcher with the Centre for AI and Digital Ethics at the University of Melbourne. She is presently involved in two research projects, one on the feasibility of data-driven approaches in LegalTech and one on the legal responses to smart contracts.
The unprecedented popularity of Large Language Models, or “LLMs” is often attributed to the introduction of ChatGPT, which enables non-technical users to directly interact with the model by means of a simple conversational interface and to observe the generation of responses in real time. This conversational interface requires users to input a certain amount of text, referred to as a prompt. Prompts often contain task-specific instructions or context that the model needs to generate an appropriate output. Although prompts are written in natural language and thus appear easy to create, crafting effective and generalizable prompt strategies is challenging. LLMs do not understand text in the same way as humans and will generate dramatically different output depending on small variations in semantically equivalent prompts. To leverage the incredible capabilities of LLMs, users must know how to “talk to computers” and how to give precise instructions. As prompts must be formulated, evaluated, and refined with great care, it is increasingly common to speak of “prompt engineering. This seminar will introduce the basics of prompt engineering from the perspective of the tasks commonly performed by lawyers. More specifically, the seminar will introduce the main prompting techniques as well as the basic cost implications of prompting LLMs with larger amounts of text.
The following questions are addressed:
What is prompt engineering? How does it differ from fine-tuning?
What are the basic prompt engineering techniques?
What are the current technical limitations of prompting techniques?
How to write effective prompts for the performance of legal tasks?
From token limits to context window – how do we calculate the costs of prompt engineering?
CPD credit is available upon application and subject to accreditation by the Law Society of Hong Kong (currently pending).