Working with David Colarusso’s LIT Prompts Browser Extension

A transcript of chat session

Today’s adventures in generative AI included using David Colarusso’s LIT Prompts Chrome extension connected to the OpenAI gpt-4o-mini API on Chapter 4 of Alice Ristroph’s Criminal Law: An Integrated Approach. I first requested a short 150 word summary of the chapter which is one of the default prompts in this extension. Then using info from that summary I asked questions about Winship.  The answers provided by the bot are all correct, though the holding response is a bit wordy, probably because I asked for references to the text. For reference see the Wikipedia article on Winship.

I can see using a a variant of this extension, think WordPress plugin or Drupal module, with a self-hosted model or a “bring your own” API key scheme as a tool used to supplement CALI’s educational resources to help students customize their learning.

Using generative AI to create a contracts quiz

Using the latest version of LM-Studio I loaded up Mistral-Nemo-Instruct-2407-GGUF from Hugging Face and using the Quiz Creator prompt from Prompts for Instructors (modified to include law school as an option) I was able to generate the following quiz in less than 15 minutes. Note: I did need to ask it to generate model answers for the open ended questions but I think the prompt can be further modified to include that feature.

 

System:

Below is an instruction that describes a task. Write a response that appropriately completes the request.

User:

You are a helpful teaching assistant and an expert in assessment. You create diagnostic quizzes that comprise of multiple choice and open ended questions that test student knowledge. You only ask 2 questions at a time and keep your part of the conversation brief. First introduce yourself to the teacher and ask them what topic they teach and the learning level of their students (high school, college, graduate school, or law school). Number the questions. Wait for the teacher to respond. Do not move on until the teacher responds. Do not ask any other questions until the teacher responds. Do not mention topics or documents until the teacher responds to the first two questions. Only once you have the answers to the first two questions then go ahead and ask the teacher what specifically (in 2 or 3 points) students should understand about this specific topic and what sticking points or difficulties students might have. This will help you construct the test. Wait for the teacher to respond. Then go ahead and create a quiz with 5 multiple choice questions and 2 open ended questions. The questions should be arranged from easiest to most difficult. Questions should test for rote knowledge and ask students to apply their knowledge. Do not focus on sticking points only. Every incorrect choice in the multiple choice questions should be plausible. Do not use an “all of the above” option in any of the questions and do not use negative framing. When applicable, open ended questions should prompt students to apply their knowledge and explain concepts in their own words and should include a metacognitive element eg explain why you think this? What assumptions are you making? Make the test nicely formatted for the students. Also give the teacher an answer key. Explain your reasoning for each question and let that teacher know that this is a draft and that you are happy to work with them to refine the questions. You also can explain that your job is to help them assess student knowledge and that you view a test as both useful for assessment and as a learning event, to help student see the gap in their knowledge and give them an opportunity to recall what they know (retrieval practice).

Assistant:

Hello teacher! I’m here to assist you with creating a diagnostic quiz. To start, could you please tell me:

1. What subject do you teach?
2. At which learning level are your students? (High school, college, graduate school, law school)
User:

I am teaching contract law to students in law school.

Assistant:

Great! Now, to help me create targeted questions, could you also share:

1. The specific aspects of contract law you’d like the quiz to cover?
2. Any common misconceptions or sticking points students might have regarding this topic?
User:

1. I would like the quiz ro cover offer and acceptance, the duration of an offer, and remedies for breach of contract
2. Students often have trouble dealing the difference between express and implied contracts

Assistant:

Thank you for the additional information. Here’s a draft diagnostic quiz based on your inputs:

**Contract Law Diagnostic Quiz**

1. **Multiple Choice:** An offer to make a contract remains open for acceptance until:
A) The offeror revokes it
B) A reasonable time has passed
C) It is accepted
D) It is communicated to the offeree

2. **Multiple Choice:** Which of the following statements about implied contracts is true?
A) An implied contract can only be verbal
B) Implied contracts are always based on the conduct of both parties
C) Implied contracts must be in writing
D) Implied contracts require a specific agreement

3. **Multiple Choice:** If Party A breaches a valid contract with Party B, and the breach was minor (not material), which remedy is Party B most likely to seek?
A) Damages for breach of contract
B) Specific performance
C) Rescission and restitution
D) Injunction

4. **Multiple Choice:** An offer can be accepted by:
A) Email, but not fax
B) Mail, but not email
C) Any reasonable means of communication
D) Only in person

5. **Multiple Choice:** Which of the following is NOT a valid reason for an offeree to reject an offer?
A) The offeree changes their mind
B) The offer has lapsed due to a time limit
C) The consideration provided by the offeree is insufficient
D) The offer was made in consideration of something illegal

6. **Open-Ended:** Explain why it’s important for an offeror to clearly state the duration of their offer. What assumptions are you making about the offeree’s knowledge and intentions in this scenario?

7. **Open-Ended:** Distinguish between express contracts and implied contracts. Provide a brief example of each type, and explain under what circumstances each type might be more likely to occur.

**Answer Key:**

1(A), 2(B), 3(A), 4(C), 5(D)


User:

Write a model answer for question 6

Assistant:

**Model Answer – Question 6:**

It’s important for an offeror to clearly state the duration of their offer to avoid misunderstandings and potential disputes with the offeree. By explicitly stating when an offer expires, the offeror makes it clear to the offeree that they need to act promptly if they wish to accept the offer. This promotes fairness and certainty in contract formation.

Assumptions made about the offeree’s knowledge and intentions include:

* The offeree is aware of the time limit placed on the offer.
* The offeree understands that if they do not accept the offer within the specified duration, it may lapse or be revoked by the offeror.
* The offeree has enough information to make an informed decision about whether to accept the offer within the given time frame.
User:

Write a model answer for question 7

Assistant:

**Model Answer – Question 7:**

**Express Contracts:**
– An express contract is a agreement where the terms are explicitly stated by the parties, either orally or in writing.
– Example: A and B agree on a written employment contract outlining salary, benefits, work duties, etc. Here, both parties know exactly what they’re agreeing to due to the clear articulation of terms.
– Express contracts are more likely to occur when:
– The agreement involves complex or important matters (e.g., real estate, business transactions).
– Parties want to ensure clarity and minimize misunderstandings.
– There’s a need for legal enforceability.

**Implied Contracts:**
– An implied contract arises from the conduct of the parties, even if there’s no explicit agreement. The actions and circumstances indicate an intent to enter into a contractual relationship.
– Example: A painter does work on B’s house without a written contract. If B pays A for the work done, an implied contract exists based on their actions and the surrounding circumstances.
– Implied contracts are more likely to occur when:
– The agreement involves simple or routine matters (e.g., everyday transactions).
– Parties act in reliance on each other’s promises or conduct.
– There’s no need for a formal, written agreement.

Some notes:

  • The questions and answers look fine but I’m not a contracts teacher.
  • This is all open source software that is free to use, no need for subscriptions or expensive API keys.
  • It runs on off the shelf hardware. It will take longer to run on a less powerful machine but it will run
  • Ultimately anyone could do this on pretty much any machine

Social annotation tools help students read together

Now, a new study offers evidence supporting what […] has long observed: online social annotation helps students understand and construct knowledge around scholarly content, while at the same time building community.

https://www.insidehighered.com/news/2022/10/12/social-annotation-technology-helps-students-read-together

There is room for the use of social annotation tools in legal education especially as more teaching resources move online. Tools like Hypothesis would provide law students with ways to highlight and annotate online materials and share those as annotations with study groups, peers, and teachers.

Hypothesis is available in CALI Lawbooks, the online publishing platform that for CALI members

Can I create a syllabus with Node-RED?

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.
Node-RED

Here’s an idea: use the low code browser based flow design tools of Node-RED to create a syllabus of online resources. Since Node-RED can work with APIs and I have an API for CALI resources, I should be able to use Node-RED tools to design a syllabus as a flowchart through a series of resources.

I suspect there are a few missing pieces here like a program or routine to step through the flow created by Node-RED and a system from tracking results that talks to Node-RED. The pieces are likely buildable one identified. The result would be a programmed learning environment using Node-RED as a primary component.

Some tips on using Zoom or other video conferencing apps for your newly online class

When the semester started who knew it would finish as an experiment in moving legal education online quickly and in an emergency? I certainly didn’t see it coming but here we are.  In person classes are not going to happen again this spring and everything is moving online. I hope law faculty are getting all of the support they need from their local IT staff but even the best staff might not have the time to get into some of the nuances of teaching online. In this brief post I just want to mention a few things to keep in mind that might ease the transition to to online learning and teaching.

While I’ll be mentioning Zoom, there are are other equally useful video conferencing tools being used by law schools and universities for online learning and teaching. Many of the features mentioned generally are available on most video platforms, so if your inline course has a synchronous video component you can use these tips.

1: Practice, practice, practice

Get the software setup well ahead of your first class, figure out how it works, run through starting and finishing a class a few times. For Zoom, definitely download and use the desktop client that’s available for Mac and Windows. Flip through the settings and try different things. This is a powerful tool that is built to be easy to use at a “let’s just get this meeting started” level. Getting more out of it takes some practice.

2: Start with video off and audio on

When setting up a Zoom session you have the option of whether or not to have everyone’s video on or off at the start, same with audio. Allowing students to not use video is a good idea because some students may not be comfortable sharing their surroundings or looking into a camera for the entirety of class.

As for audio, have it turned on to start so everyone can say hi and then students can be muted if necessary.  I think everyone’s natural reaction when joining a conference call is to say “Hi!” and if they’re muted it causes a moment of confusion that’s easily avoidable.

3: Use a headset with a microphone and encourage students to use one too

Nothing will wrecks an online class faster than bad audio. A good headset is not expensive and relying on your laptop’s built in microphone and speakers is going to go horribly wrong at some point. Using a basic headset with microphone is going to avoid the vast majority of audio quality issues and good audio will keep the class moving forward.

4: Expect technical difficulties

Things will go wrong. Connections will drop. Screens will freeze. Sound and video will stutter. The Internet is a wild and woolly place where stuff happens. The most important thing you can do is keeping moving forward and …

5: Record EVERYTHING!

Zoom has a feature that will automatically record everything including saving chat logs. Turn it on. Then when students have tech issues you can just share the recording with them. I have heard that some schools aren’t planning on recording everything. I think that’s a mistake. Recordings of your class will be a very valuable asset for your students.

6: Over communicate with your students

They’re as new to this as you are. They may be familiar with some of the tools, but this is probably the first time they’ve taken a full course load of law school classes in a completely online setting. Let them know what to expect and when to expect it. Reassure them that you’re going to get through this together. Make it as smooth and comfortable as you can.

I know a lot of law faculty aim to make students uncomfortable and keep them on edge. Now really isn’t the time for that. We all have a lot on our minds beyond the walls of academia and it’s important to acknowledge that. Students can learn and faculty can teach the law in this new online world but it will be easier for both if everyone knows what to expect and everyone is treated with kindness.

As always, if you have any questions just drop me a line: elmer at teknoids.net

 

Overview of creating an Online Course with WordPress and LMS Plugins

Creating online courses in WordPress is easier than ever with the help of some amazing LMS (Learning Management Systems) plugins. It’s a great business model, considering the low startup costs, profits, ability to share your knowledge, and flexibility. What’s that? I think I hear the school bell ringing. So, let’s get to it… Here’s a bit of what I’ll be going over: Why even launch an online course using WordPress? Do you need an LMS plugin? 3rd party sites (and why they’re probably not best) Creating online courses in WordPress

Source: How to Create an Online Course with WordPress and LMS Plugins :: wpmudev

Good overview of the pros and cons of building a course using WordPress and some third party plugins. Key thing to remember is that you’re still responsible for all the content, WP + plugins just give you a framework to offer the course in.

TOME Initiative Looks to Create OA System for Peer Reviewed Academic Monographs

Peter Potter, director of publishing strategy for the University Libraries at Virginia Tech, Blacksburg, was appointed by the Association of Research Libraries as visiting program officer to advance TOME (Toward an Open Monograph Ecosystem).

LJ: How does the TOME model work?

Peter Potter: TOME is an initiative to create a system whereby academic books can be made available open access. It’s an attempt to create, from the bottom up, a group of institutions and presses working together to ensure that payment is made on the front end of publication, rather than publishers having to rely on sales income. At the moment we have over 70 participating university presses, [and] 13 participating universities.

The press gets the up-front money. If a press is participating, they’re agreeing to publish this book in an open access format. That doesn’t prevent them from turning around and selling the book, which they can do. If there are print sales or ebook sales that they can generate, they should continue doing that.

Contribution from a university is a minimum of $15,000 per monograph. We figured that after this five-year pilot we would come back and revisit that amount to find out if that is actually enough to make this worthwhile for presses. We understand the $15,000 is less than what it typically costs to produce a monograph—Mellon did a study a few years ago in which they said it’s actually well over $20,000. But the idea is by making a book open access you’re not cutting off sale possibilities. The $15,000 jump-starts the book’s availability, it enables the press to go ahead and publish the book [in print format], and then they will see sales that will supplement that.

One of the things that’s important is that these are university press peer-reviewed books. We want it to be clear to provosts and department heads and deans that these are not second class books—they are books that a university press would have published anyway on the basis of quality. We didn’t want the sales potential of the book to get in the way of that. Sometimes decisions get made for a monograph based upon “we don’t think we can sell enough copies,” and this is a way to try to address that problem on the front end.

Source: Peter Potter on Funding OA Monographs

This approach of essentially paying upfront for the book has worked quite successfully for nearly a decade for CALI eLangdell Press. eLangdell Press books are distributed freely with a Creative Commons license that allows faculty to remix the work to tailor it to their course needs. CALI eLangdell currently offers over 30 casebooks and  supplements in over a dozen areas of the law. DUring the Fall 2018 semester eLangdell titles were downloaded over 12,000 times, providing law students with over $1,500,000.00 in value.

New Paper From Indiana U Law Faculty Shows Significant Law Student Satisfaction With Online Classes

This is the first article to provide empirical data on the effectiveness of distance education in law schools since the ABA this summer approved increasing the total number of credits that law students could earn through online classes from 15 to 30. Our data, composed of law student surveys and focus groups, reveal not only the success of distance education in their experience, but also the methods that are most effective for them.

— Dutton, Yvonne and Ryznar, Margaret and Long, Kayleigh, Assessing Online Learning in Law Schools: Students Say Online Classes Deliver (October 1, 2018). Denver University Law Review, Forthcoming; Indiana University Robert H. McKinney School of Law Research Paper 2018-13. Available at SSRN: https://ssrn.com/abstract=3242824

This article is important for 2 reasons. First, it provides an excellent survey of the state of online education in American law schools including information on what schools are providing online courses (hint: lots) and how those courses are being taught. Second, it provides solid empirical evidence of the success of online classes in an ABA accredited law school with the course being taught within the scope of the accreditation rules.

This is a must read for law school Deans, faculty, librarians, and technologists.