Upload files to ChatGPT Tutorial | Submit Large Files into ChatGPT #openai #chatgpt

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone so today I'm going to go over the code I provided you guys with in the submit files to Chacha BT video I see a number of you have been having issues just trying to replicate the code so hopefully this video can help you guys out and also for those that don't want to go through the process of building this plugin you can just head over to the Chrome web store and look for ChaCha BT file uploader extension this plugin has the ability to upload Excel files Word files PDF files Etc and it's completely free so anyway let's just get into it so you can find the following prompt in the description below in the first part we're just asking chatgpt to use the selector I provided here and all that's doing is just asking chatterbt to take the submit file button and the progress bar and place it underneath this selector then we go on and provide chatgpt with a the submit conversation code so that we can ensure that it submits the information properly and then at the bottom it says here is the code I need to edit please provide the full updated code and the code that I'm referring to is just the prompt that I provided in the previous video but again you can find the entire prompt in the description below okay so our code has completed so now let's just copy the code and now let's right click select inspect and let's head over to the console area and let's paste the code and hit enter so there's our button and the progress bar we can deal with the way it looks later so now I'm going to test to see if it works so I'm going to click on the button and upload this test file and you can see that it's emitting the text within the file but right now looks like it's taking this time to respond and we can also see that it's submitting it in Parts which is great now if we scroll all the way down it looks like we have an error I guess uh Chaturbate is busy at the moment or feeling overloaded ah let's just refresh this page okay so now I'm just gonna hit the regenerate button and then I'm gonna stop it because I'm not I don't care about the response right now uh we just want to make sure that the code that we're using works so now let's go right back up to the code so I created a plugin that allows me to inject the code directly into the console just by clicking this injection icon if any of you are interested on how I created this just let me know down in the comments and I'll see if I create a video for it anyway so for now let's just go and copy this code and paste it into the console and hit enter and now I'm going to submit this test file and there we have it it's submitting the file in chunks like we wanted to okay great so now that's done um and I know a couple of you are asking whether or not we can submit prompts before the data submitted there are a number of ways you can do this this is the way I just chose to do it but next let's type I would like to add this line before the data is submitted please provide a summary of the content okay so it looks like it provided us with a snippet of the code so I'm going to ask Chachi PT for the full code okay so there we have it so I'm going to refresh the page I'm going to copy the code right click select inspect let's go to the console area let me clear this and then we're going to paste the code inside the console okay let's hit enter okay there's our button let's load up the same test file so it looks like one of the responses is pretty bad and it's most likely because we're using the same chat to build the code we're also using it to test the test file so I would recommend that you start a new chat and test it that way that way you get the proper responses but anyway let's scroll up to see if I prompt was submitted before the content and it looks like it has so that's working now let's just scroll down to see if we can find any more responses and just also verify that we're seeing the prompt right before the data is submitted so it looks like the second part was also submitted with the prompt before it I'm just gonna hit stop generating because we don't need it to generate so much um and then I'm just going to refresh the page as well okay so let me just scroll back up now let's take a look at the response for part two so it looks like the response from part two was also pretty bad and it seems the data was submitted but it cut off mid-sentence so uh we're gonna have to work on that anyway let's move on and see if we can find something else so it looks like for part three it gave us a decent uh short summary of it and going down to part four looks like it also provided summary for it too and I'm sure it did the same thing for part five okay so now let's see if we can apply a quick fix to uh Chacha PT cutting off the data mid-sentence I'm just gonna scroll up to where it says part one of test two and I'm just gonna edit it and delete everything that's in it it doesn't matter or you can just simply start typing before cutting the data into chunks check whether the last character is a period when splitting the file into chunks if the last character is a period the cut is performed directly however if the last character is not a period it splits at the nearest period dot mark although this might not work 100 of the time it would do the job it was also mentioned by this user here I'm not going to try to pronounce the name but thank you so it looks like it provided partial code so let's ask for the full code again all right looks like it's done so let's copy the code refresh the page let's start a new chat right click inspect now let's paste the code hit enter and now let's just load up our test file okay so now let's take a look at our responses it looks like we're getting pretty good results you can see part two here and you can see it's a pretty lengthy response scroll down a little more and yeah it looks like the responses are pretty good so the last thing we'll talk about is the appearance and how to change the width of the button or anything like that so let's refresh the page let's right click select inspect and then we're gonna head over to the console window up here and then we're going to paste the code so what we're going to do is just increase the width of the button that we have here so that it's just not there tucked in the left corner of the screen so we're just going to copy this line of code here and then we're going to paste it and then we're going to change where it says margin to the word with then change three pixels here to a hundred percent we could also even change the color of the button style background that you see here from green to any other color so let's just change this to gray for instance now hit enter so there we have it there's our button the lamp has been extended to 100 and the color is gray um and remember you can edit anything on the script to your liking um and even add on top of it feel free to comment below if you guys have any issues or have any questions or any suggestions and I hope this video was helpful for those of you that were having issues trying to recreate the script so thanks for watching if you like this kind of content like And subscribe until next time
Info
Channel: Automate My Life
Views: 1,286
Rating: undefined out of 5
Keywords: submit file, conversational interface, file submission form, file submission, chatgpt, programming, code, openai, javascript, inject, plugin, web development, how to learn to code for beginners, chrome script, coding tutorial, how to use chat gpt, software engineering, Automate my life, chatgpt web scraping, app development, code with chatgpt, chatgpt code, learning to code, java for beginners, how to learn programming, chatgpt tips, chatgpt hack, chatgpt plugin, plugins, extension
Id: wiw0JyzNdVM
Channel Id: undefined
Length: 8min 38sec (518 seconds)
Published: Sat Jul 15 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.