Every Writer Should Be Using ChatGPT's Code Interpreter (Here's Why)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
not long ago I released a video and in that video I talked about how code interpreters changing the game for chat GPT but I said this I haven't done a video on code interpreter because it's not as relevant for authors and well that didn't age well so in this video I'm actually going to be eating my words there and talking a little bit about how chat gbt's new code interpreter feature can actually be used very effectively by authors and what it means for the implications of the Future Let's get into it [Music] now before we dive into this too much I do have to give credit where credit is due I learned about some of the techniques that we're going to discuss here from Elizabeth Ann West through the feature fiction Academy now the future fiction Academy if you're not familiar it's basically right now uh until my course comes out you know right now it is the I believe the best way to be learning about using fiction for AI because they are constantly doing lab hours and really digging into the details of how to use AI to write fiction and they do a really good job it is a little expensive it's a monthly expense but I will have a link down below if you want to check it out because I learned these valuable lessons from that and there's a lot of other things that I've included in other videos on this channel that I initially got the idea from in those sessions so definitely go check her out but in the meantime let's dive into code in terms all right so we're here in chat gbt and in order to make sure you have code interpreter enabled you first of all need to be a subscriber to chat gbt plus so you can get access to gpt4 and then you go over here to these three dots and go to settings and beta go to Beta features and make sure that this thing right here code interpreter is selected once that's selected you'll be able to come up here and see under gpt4 you'll see this option for code interpreter we want to select that and now you should know that you have access to this by seeing this little plus sign here in the corner or in the sidebar here so what can we actually do with code interpreter well first of all um basically the best way to think about it for authors is that it is a way to upload documents and have it do certain things with that those documents now code interpreter I recommend you go check out a bunch of other videos on YouTube because there are so many different things that you can use it for but for writers specifically the most applicable use case is in uploading documents and having it do things with those documents and there's a lot that it can do so I'm going to actually deselect it for a second to do this first bit and I'm going to say we're going to give it this prompt right here which says give me a World building sheet for a science fiction novel series that takes place on a colony spaceship heading for distant parts of the Galaxy include specific details about the ship including what the people do on the ship for recreation do the activities work etc and so this is just a quick prompt I threw together on a World building sheet this is not a tutorial on World building sheets okay that's something I think we could do in the future putting together the Frameworks for a good World building situation but for now this is just when I'm putting together for now to get something quick from chat EBT all right so it gave us a pretty detailed World building sheet here we have the settings series takes place on the Starbound an enormous generational Colony ship as of the start of the series the ship has been entranced for over 200 years okay Starbound shift specifications it's 60 kilometers long 20 kilometers at the widest part 5 000 decks each ranging from 3 to 12 meters in height depending on use this is actually kind of cool I I rather like the information it's given us here so then it goes into a bunch of daily life things and the majority of people live in small apartments many of the residents work in the maintenance of the ship and it's life support systems mandatory schooling up to age 18 and so forth so pretty decent World building sheet to start with so I'm going to go ahead and copy this and we're going to put this in a text file at dot txt file the simplest way to do this is to just pull up notepad if you're using uh windows or some or whatever the equivalent is on Mac and then you can just copy and paste it now with Notepad anytime you're saving a txt file it's going to remove all your formatting and things like this so you don't have the Bold and the the bullet points and things like that but that's okay but if you do want to save that stuff somewhere else I would recommend maybe saving it to a Google doc and then from a Google doc you can export to a txt file but I'm just going to stick with the simplest solution here which is to put it in this txt file and so I'm going to save this as we're going to save it just as World building sheet and so now we have this world building sheet okay so now if we open up a new chat we go and now select code interpreter we can now upload this txt file so it now has that and then we can ask it anything we want to and it will understand because it has been using this txd file so we can just say something to the effect of give me 12 Slice of Life episodes that I could write as short stories set within this Colony spaceship so it says first let's examine the uploaded file to understand the unique aspects of your space Colony ship and then it actually this is what's so amazing about code interpreter it actually writes the code it needs to use on the spot to um basically access and obviously it didn't require a whole lot of code here but there is a lot of things that it can extract and do in code interpreter because it writes its own code and then uses that code to do what you asked it to do it's pretty mind-blowing stuff and so it says thank you for the detailed World building sheet this really helps to visualize the settings and so forth and then now we get the 12 Slice of Life episode ideas based on the provided details the night shift follow the work of Maintenance Crews as they navigate the ship during the quiet hours dealing with everything from routine repairs to unexpected malfunctions Under the Dome a day in the life of a family living near one of the biodomes exploring their daily routines interacting with the local flora and fauna so it's given me all 12 of these things and all I had to do was upload the World building sheet and then ask it questions so this is a really good idea if you have like a lot of Saved information that you just want to access multiple times you can do that now what if we wanted to push this a little further and take it to the next level let's assume that we have a couple of World building sheets and then or a couple of different documents and then we want it to do different things with all of them let's see what we can actually do all right so I've created two more documents here this first first one on the right here is a basically a copy word for word of a a blog post that I did on the 24 chapter novel outline with details about what that is and how to do it so I copied literally the entire thing it's quite a number of words and just put it in here you can by the way find this blog post at nerdynoblist.com and then over here I created a document called writing instructions where I put some simple instructions and I tried to keep these instructions as Evergreen as possible meaning I could reuse these instructions again in a different situation but for right now this is what we got the writing instructions are we're going to plan a story based on the file worldbuildingsheat.txt and 24 chapter novel outline.txt and these instructions step one using the World building sheet as a starting point come up with three ideas for a novel that could be set in this setting step two from the three ideas you've created pick the one you think is best step three using the 24 chapter novel outline document plot a chapter outline for the idea you've selected step four now that you have a full outline provide 12 Slice of Life short story ideas that could take place at the same time as the main story so I'm giving it quite a lot to deal with we'll see if it's actually able to do it and by the way you can do this with anything I'm just doing it here with a World building idea but Elizabeth in her original video which again go check that out below she did it with a sample police report to be used in like a Mysteries novel and that could be a really good idea as well she was giving it all kinds of prompts for what a what you could do with a sample police report to help you plot up a novel and so here's what we got and then what we could do is we can take all three of these ideas let me just X out of them here all three of these documents put them in one file and then we can just compress these files I'll just say AI writing and into a zip file and now we're gonna let's open up a new chat here make sure code interpreter is enabled there and then open up the file and now we can select the zipped up file here that has all three of them in it and I can just say unzip this file and proceed with the instructions found therein and now we'll see what happens okay so it is unzip the files and then it accurately read the instructions and then it read the World building sheet file so it's made some progress and then it stopped but it did end with now that we have a good understanding of the setting let's move on to the first steps coming up with three novel ideas which is based on my instructions here and I actually had this was the second time that I sent it through the first time it actually got things wrong it started making up things about the World building sheet instead of reading it but all I asked it to do is just to regenerate this response and what it gave me was definitely better the second time so not perfect but definitely still getting there so I'm just going to ask it to continue and hopefully it continues uh with my instructions all right it is moved on to the next step where it gave me three different ideas and now it says it's ready for the next step which uh well it says let's choose the one that seems the most interesting and promising for further development in my opinion the Kepler 62f conundrum presents a particularly compelling story as it opens up the plethora of narrative directions especially around first Contact exploration and survival what do you think and honestly it probably just picked that at random but if we look at the one it's referring to it says the novel begins as the Starbound finally arrives at its destination Kepler 62f however the supposedly habitable exoplanet shows signs of already having Advanced life this discovery triggers a series of ethical philosophical and survival questions about among the residents the story follows the cruise they navigate this unanticipated complication with the fate of the entire ship in their hands all right that's okay I say I agree continue all right so we've moved on to the next section which is to open the file about the 24 chapter novel outline and it gave me a pretty decent summary of what that file is about so now I can just ask it to continue again all right and it has already gone ahead and given us the 24 chapter outline which obviously if you were doing this you know with serious intent to write and publish this you'd want to be given this a little bit more of a closer look but it's still pretty cool that it's able to do all of this just from the one thing and then all I have to do is just prompt to continue which I will do again now all right and now it is fulfilled the final step that I gave it which was to write these uh potential short story ideas for Slice of Life episodes surrounding the main story idea and we it is done and exactly as instructed the only hiccup is that when I first did The Prompt it didn't do it right the first time and then I had to ask it to redo it but ever since then it's all the only thing I've had to do was just ask it to continue and it is done very well so this is actually really cool that it can do this sort of thing and this is a good way if you have documents that you want to rec uh reference multiple times like World building doc documents like specific outlines perhaps or character sheets or you know police reports or whatever it is that you want to use historical research information that kind of thing all of that can be packaged inside a document which you can then in input into chat GPT and use what I don't know yet is what is the word limit for that I assume that by um that by reading all of these things it's using up some of its word capacity but also it doesn't necessarily for instance it didn't access the 24 chapter outline until much later when it was actually needed so you don't necessarily need to input everything all at once and it won't because it won't necessarily read it all at once it'll read it when necessary if your instructions are good and so really cool thing it is also worth noting that Claude if we go to Claude right now has a very similar feature where you can attach files to Claude and then start your chat with that and Claude we know has a context window of a hundred thousand tokens which is insanely large and so really there isn't much of a difference between the use of code interpreter for documents and the way that writers would use them and the use of Claude for the same things now code interpreter can do a lot of other things unrelated to writing and the kind of things that we cover on this channel that Claude cannot do but it is really cool that this feature is becoming kind of a staple a normal thing in all these chat Bots and so really cool to see I can't wait to see where this technology continues to go because it just keeps getting better and better and I'll see you in the next video
Info
Channel: The Nerdy Novelist
Views: 14,098
Rating: undefined out of 5
Keywords: storytelling, how to write a novel, how to plot a novel, worldbuilding, chat gpt, chatgpt, claude, sudowrite, ai writing, writing with artificial intelligence, anthropic, open ai, openai, sudo write
Id: 6Xwd3DhmssA
Channel Id: undefined
Length: 16min 2sec (962 seconds)
Published: Mon Jul 31 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.