Advanced ChatGPT Skills: Markdown Format

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
chat GPT has taken the Internet by storm today in this video we're going to take a look at markdown format and what that has to do with chat GPT as I've played with this amazing and life-changing tool I've learned that the more structure I give chat GPT on the front end the better the results and the better output I get on the back end so let's dive in and take a look at what markdown can do for you to improve how you use chat GPT [Music] foreign thank you for watching this video we're going to start with this question what is markdown what does it have to do with chat GPT and why is it the secret sauce to getting structured chat GPT output the first thing that you should know about markdown is that it is a lightweight markup language so it's similar to HTML CSS that kind of thing it can add format to text output that you're getting and what's interesting is that chat GPT uses markdown formats so for me when I saw people using things like and put this in a markdown table and then chat GPT would spit out a table I personally did not know what markdown was so I Googled hey what what's Mark what is a markdown table and that led me to this resource at markdown guide.org markdown functions similar to HTML it's easy to learn especially if you have any experience with things like CSS or HTML it's very simple to learn or even if you've just used a word processor it's kind of intuitive it makes it possible to enhance how you use chat GPT and how you use artificial intelligence um so yeah like I mentioned it can use it in its output but it can also understand when you're putting markdown into your format and as you input and this allows you to improve the human visibility and readability of the prompts that you use in a video that I've already posted about how you can use chat GPT to generate a Dungeons and Dragons and figure some of those examples use markdown format and request markdown format from chat GPT and you can get some astonishingly organized results that make it all the more usable what are some examples of markdown elements that you can use we've got some here on this slide so the headings you know one hashtag or number sign is your H1 you're heading one two is heading two three is heading three it's very simple uh bold is when there's two asterisks asterisks I have trouble with that word on either side of a set of words and then the italic is going to be one asterisk lists if you're familiar with CSS you're familiar with unordered lists and ordered lists an unordered list is one with bullets and an ordered list is one with numbers and so chat GPT is going to understand that kind of input too if you say I want an ordered list it's going to number it if you just say I want a list it might number it it might bold it or it might bullet it and so I've found that I prefer to be able to get consistent formatting out of chat GPT and so just by learning something simple like I want an ordered list versus an unordered list helps me get better results and then finally you can get tables and more and we might actually later in this video look at the markdown Guide website all right for me when I'm trying to design a complex prompt it's a good idea for me to set it up in a separate document so I just open up Microsoft Word you can use any kind of text editor you want to plan out the markdown structure of the output you want when you're using chat GPT and this is going to help chat GPT understand your prompt better and give you better results finally what I'd like to do is we're going to jump into GPT here in a minute and I'm going to have it help me with some legal research I'm going to give it some some very basic input and and some output I have recently been testing this out with a response to a motion to dismiss I'm not going to use one from an existing client but maybe we'll look at some publicly available data or maybe today I might just give an example for our use case today and have it list out those cases in an ordered list and then write me a section of a brief in C rack format which if you're familiar with law as an industry in legal writing you know stands for conclusion rule application conclusion legal writing is supposed to progress logically and so presumably chat GPT should write excessively well in terms of organizing a logical rational reasonable argument so we'll take a look at that here in a bit all right we're going to jump in to chat GPT here in a moment but first I wanted to show you markdown guide.org which provides some interesting information about how you can use different markdown syntax to structure your input and output as you use chat GPT so you can see that they have the opportunity for you to provide links do tables footnotes even and so it's just very interesting to see how you could use this emojis right so it's it's fun to think about all the different ways that you might be able to format output in chat and GPT I'm going to use GPT form the the gpt4 model for this example and I want to put in this prompt and go through it with you now I have provided this prompt in a Word document so I'm copying and pasting and I plan this out I've not done this before right so this video could go very poorly however I want to show you even even this will probably generate something more structured than you're used to seeing and we'll see how chat GPT responds I'm going to go through each line of the prompt and explain to you how it functions so first you're an expert constitutional lawyer a lot of times by telling chat GPT how you want it to act or who you want it to be helps it get better output so for example if you just tell it write me a legal analysis it might write that as a 1l law student like in their first year but if you tell it to write as an expert constitutional lawyer you're going to get better output other examples that I've done is I once asked it to write a narrative in the style of JK Rowling versus Rick Riordan and the stylistic differences were astounding right and so you can do the same thing when you are working on something like a legal brief or frankly any other task that you're that you're working on okay the next thing I ask is to give me an ordered list of five to ten prominent cases holding that detaining a person in prison without legal justification is a violation of the Fourth Amendment right to due process it should be a pretty simplistic task for it to get to obviously this is a violation of your rights but it's nice to have cases to support that contention and sometimes particularly as a lawyer you realize that some things that most of the populists will duh of course you still have to prove that so um I ask it to cite the cases in Blue Book citation format and then include a parenthetical so I'm telling it to provide an explanation after that citation about what the case is about then I tell it finally write a c rack section of a legal brief on the specific issue that's kind of a legal industry-specific jargon that c rack it stands for conclusion rule application conclusion it is a form of legal writing that progresses very logically you might also see Iraq's which stands for issue rule application conclusion um I bet that chat GPT could do just fine with either format but then I tell it at the end of each sentence site relevant law and Blue Book format to support your conclusions we'll see how it does I've seen better results with gpt4 versus 3.5 and training chat GPT to correctly cite law in Blue Book format has been a little challenging but most of the time we can get it to work then I finally ask it provide your output in the following format and I I intentionally use two different heading Styles here because I want you to see that it is responding to the prompt in exactly the precise way that we're asking it to so it's going to spit out this prominent case list and a heading 1 which should make it larger than when it spits out c-rack analysis and then it should provide the ordered list of cases and then provide conclusion rule application conclusion and bold just like we've told it to so let's see how it does with this issue all right so we can see that it already gave us the heading one and gpt4 I tend to use 3.5 for these examples because it goes so much faster but we're going to see what we get with gpt4 here as you can see it's already started to cite cases and it's giving us these parentheticals holding that evidence obtained in violation of the Fourth Amendment cannot be used to state criminal prosecutions so it's not quite as specific as we want and a lot of times follow-up prompts can help it get to where you need it to be but let's continue to see what else we have establishing that police may stop and frisk an individual holding that detaining individual's luggage for a drug sniff test without probable cause as a violation of the Fourth Amendment so it's in the right Ballpark and again as a lawyer and particularly if you're a constitutional law expert you kind of know if this is getting to where you want it to be or not frequently because we practice in the fourth circuit we will then send a follow-up or if I remember in advance to ask it to look up for circuit cases it tends to give me more accurate output that way and so don't forget that you can the more specificity you give it the more specificity you get in your result but even now right it has begun to write conclusion rule application conclusion and it's providing citations more or less in Blue Book format and it's actually citing the cases that it pooled as prominent cases which is equally impressive now is this the end all and be all today no do I think that you could craft a prompt that could help you write a brief in record time yes if you asked a first-year associate at your Law Firm to do this task for you how long would it take them longer than we've been talking which is pretty wild when you consider uh what is happening right here right now now of course could we then look at this case could we look at the issues that it's talking about yes but I think all in all if you consider what's what's just happened and the fact that it has taken zero time flat for it to figure this out is is truly amazing and you could um I don't know about this output I'd have to look at it a little closer but we've done tests like this and you could literally in some circumstances copy and paste what it writes and put it into a brief and I don't think anyone would be the wiser so it has been really neat to see how you can use Excuse me use chat GPT to get amazing output now finally one thing that I do want to point out is that the structure that we gave the prompt worked like magic okay we've got our heading one we've got our heading two we've got an ordered list and we've got bold and so if you've never seen output structured quite like that know that if you go to use markdown and you learn how to use it that you can have easily visible easily understandable to the human eye content coming at you back out of chat GPT thank you for watching this video about how you can use markdown with chat GPT to get improved output from this amazing software I hope that you've enjoyed this video I hope that you've enjoyed this tip and that you can begin to see how you can give chat GPT structured input to get structured output and that you can really get down to details on what you want it to do and how you want it to work for you if you like this video like And subscribe we are a law firm here in Richmond Virginia we provide services in the areas of operation personal injury and business and intellectual property we've been fascinated by the power of chat GPT and how it can help us in our law practice and we're sharing some of those tips here online we'd love to talk to you or see your comments here on our YouTube channel subscribe to our Channel and we'd like to see you around thank you again for watching have a great one [Music]
Info
Channel: Tingen Law
Views: 448
Rating: undefined out of 5
Keywords:
Id: h-mDGxj7YTY
Channel Id: undefined
Length: 12min 34sec (754 seconds)
Published: Fri Mar 31 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.