Disclaimer: This frontend used OpenAI's GPT-3 API not ChatGPT it's self. While this is great and free for those using the free trial there is a limit of $18 of credit. So far I have made 28 requests adding up to 0.94$. Do with that information as you like. Happy hacking!
@GeorgWilde2 жыл бұрын
Is there a possibility to implement the same for ChatGPT right now? I'm noob, but it seems to me that different frontends for ChatGPT can be and are developed even without the company Open AI providing API for that.
@dpx40292 жыл бұрын
@@GeorgWilde you can, but you have to use playwright in headless mode to authenticate and then get the chat session id, i saw someone already did it in a Reddit post on the Emacs subreddit
@defnlife16832 жыл бұрын
This man is single-handedly making lisp awesome for us normies!!
@pauleduard4772 Жыл бұрын
This could get quite interesting with org-roam and building a second brain! Crossed my mind today. Made a chat-GPT3 account 3 days ago.
@nevoyu2 жыл бұрын
I've been using ChatGPT for assistance with my D&D campaign setting. Feeding it with everything so far has been a chore but it's came in with some very good insights.
@GavinFreeborn2 жыл бұрын
I hadn't even thought to use it for something like that. Very clever, what kind prompts do you give it if you don't mind me asking?
@nevoyu2 жыл бұрын
@Gavin Freeborn I started with a basic prompt of "tell me a story about an evil wizard who signed a pact to free a demon" Then just kept asking it for more details as we went.
@GavinFreeborn2 жыл бұрын
Let me know what you use ChatGPT for? If you haven't used it before do you think you will use it now?
@ИванИванов-й1ж3ю8 ай бұрын
Look's very interesting. Thanks for this video!
@FLMKane2 жыл бұрын
Emacs is the thermonuclear text editor With chatgpt it's now the supernova text editor!
@MathiasDahl2 жыл бұрын
Great stuff! :)
@augustinemavor-parker93552 жыл бұрын
this is awesome
@AndersJackson Жыл бұрын
Something to remember is that AI, like ChatGPT, are designed to please the user. So, if it can't generate a correct answer, it will lie, which is called that it will Hallucinate. So code generated has to be checked and understood, so it will not generate faulty code. Basically ChatGPT and other services like it, is MSaaS (Man Splaining as a Service). 🙂
@maxreuv2 жыл бұрын
Great video, thank you for sharing! I wanted to take ChatGPT for a spin but was deterred by its requiring a phone number for the registration.
@Backstabbio2 жыл бұрын
That's so they can alert the FBI and DOJ if you talk to it about stuff that's a little too spicy.
@jorgegomezabrante87802 жыл бұрын
Great video! Very impressive! What is that program that you are using to draw/diagram with? Are you also using a draw pad or mouse?
@GavinFreeborn2 жыл бұрын
Excalidraw (think I spelled that right)
@judef-ii582 жыл бұрын
Thanks for this video. However, your config 7:31 is not available. Can you share how you configure chatgpt with emacs?
@judef-ii582 жыл бұрын
I got this error: funcall-interactively: Wrong number of arguments: ((t) (prompt callback) "Query OpenAI with PROMPT calling the CALLBACK function on the resulting buffer. Returns buffer containing the text from this query" (interactive "^M") (chatgpt--query-open-api prompt #'(lambda (results) (save-current-buffer (set-buffer (get-buffer-create chatgpt-buffer)) (erase-buffer) (insert results) (funcall callback (current-buffer)))))), 1 Mark set
@sumanth3036 Жыл бұрын
Will a tutorial be possible about how you made this?
@lrdass2 жыл бұрын
Sorry about the not very related question - but which is the drawing program you've used? Very nice frontend for chatgpt! kudos!
@GavinFreeborn2 жыл бұрын
I used excalidraw
@auntiecarol2 жыл бұрын
@@GavinFreeborn "Excalidraw" is an awesome prog name! So much better than the venerable "MyPaint" that I use.
@GavinFreeborn2 жыл бұрын
@@auntiecarol I used mypaint in the past. Really nice for drawing just not the greatest for quick notes unfortunately.
@TheTxellenne11 ай бұрын
A silly question here, I will need a pro (or paid) open-ai account to pipeline interactions between my emacs activities and my chat-gpt, won't I?
@PeterPrevos2 жыл бұрын
How can I get the callback to insert the response at point? I want to ask non-code questions as a research assistant.
@jonghyeonyeo6122 жыл бұрын
I just got an error like this. error in process filter: condition-case: An error caused by a failure to parse an OpenAI API Response: wrong-type-argument, stringp, nil error in process filter: An error caused by a failure to parse an OpenAI API Response: wrong-type-argument, stringp, nil
@GavinFreeborn2 жыл бұрын
I'll try to take a look at this in the morning. The code may be out of sync with what I have. Thanks for pointing this out
@notjustsilicon2 жыл бұрын
@@GavinFreeborn also getting errors like that. and when trying to use the prompt it gives an arity error (missing the callback). but great video, thanks for making them!
@GavinFreeborn2 жыл бұрын
@@notjustsilicon Just resolved this. Sorry for the delay, vacation has gotten a little in the way
@GavinFreeborn2 жыл бұрын
Should be resolved now if it's the issue I expect. Likely just due to the prompt not functioning properly when used interactively. Sorry about that
@akojic54862 жыл бұрын
👏🏻👏🏻
@wxjeacen2 жыл бұрын
Can you share your code with a git repo?
@Argleton-Ghoti2 жыл бұрын
wow u are super man
@Danny-we4vz2 жыл бұрын
Annnnd it’s not gonna be free anymore in a few days…
@GavinFreeborn2 жыл бұрын
Awe really, that's a shame :(
@GavinFreeborn2 жыл бұрын
@@zion4872 can't find it either. It does say they will eventually have to make it paid due to compute costs but they haven't said anything about when it's gonna happen from what I can find
@Danny-we4vz2 жыл бұрын
@@GavinFreeborn I recall seeing on GPTChat’s page that it would be available til the end of this month, which means we will either not able to use it next month, or have to pay to use it. Both would mean it’s not going to be freely available anymore :(
@Vaslovag2 жыл бұрын
@@GavinFreeborn In my account I read under "usage" that they gave me a free trial worth USD 18 and for a maximum of 3 months.
@ivymuncher2 жыл бұрын
Who needs chatgpt I have M-x doctor
@GavinFreeborn2 жыл бұрын
I was just joking about M-x doctor the other day 😅. Emacs has AI before it was cool
@foobars38162 жыл бұрын
Why lie? This isn't ChatGPT, it's the completions API by open AI, not ChatGPT. I can't believe you made a 16 minute video and didn't mention that once! Such clickbait.
@GavinFreeborn2 жыл бұрын
Is this not nearly identical to how ChatGPT is working it's using the same model and engine? I think the only missing features are the sustained sessions which I understand others considering important. This is however completely possible to do via the api. I even tested it against many of the examples getting nearly identical responses to what ChatGPT was giving. My intention was not to mislead people.
@GavinFreeborn2 жыл бұрын
Doing a little research will also show that this is how most if not all existing attempt are achieving this.
@GavinFreeborn2 жыл бұрын
If you could expand on this I'd appreciate it since I don't want to be spreading misinformation. On the topic of not mentioning this I explain this in the "How it all works" section.
@damiengonot67872 жыл бұрын
@@GavinFreeborn Loved the video and will definitely try it out but since this is calling the OpenAI API, each request incurs a tiny cost right? It's not entirely free like ChatGPT is. Unsure what foobars' concerns were but to me this is the main difference between ChatGPT and OpenAI's completions API.
@GavinFreeborn2 жыл бұрын
@@damiengonot6787 ya that's a fair concern. I think that would have been worth mentioning. Especially when it comes to the eventual cost of you go over the free trial. I've made a lot of requests so far especially for testing and have yet to hit a dollar let alone 18. Thanks for mentioning this I'll be sure to make a disclaimer since this was definitely an oversight on my end.
@thengakola62172 жыл бұрын
I used to love ur videos but the thumbnails are getting dum`m`er by the day
@GavinFreeborn2 жыл бұрын
Sorry you feel that way. Honestly I didn't think viewers would enjoy a video any less due to a thumbnail. I really just go for what might catch someone's eye. I'll try to make them more clever. If that's what people want
@nope93102 жыл бұрын
There is nothing wrong with the thumbnail. What's wrong with you?