emacs/var/elfeed/db/data/68/68056f2253c1174da74ee93456d8535e63d800d1
2022-01-03 12:49:32 -06:00

22 lines
1.1 KiB
Plaintext

<p>I <a href="https://emacstil.com/til/2021/12/28/playing-with-openai/">wrote</a> about a
small OpenAI wrapper that I developed over the weekend. After playing with it
for a bit, I extended the functionalities to fit the Emacs workflow.</p>
<p>Now you can <code class="language-plaintext highlighter-rouge">M-x aide-openai-completion-buffer-insert</code>, which grabs the current
buffer as a string, send it to OpenAI API and insert the result at the end of
the buffer.</p>
<p>This is like the <a href="https://beta.openai.com/playground">OpenAI
playground</a> where you can run the command
multiple times to continue the conversation in the same buffer.</p>
<p>Demo:</p>
<p><img alt="aide.ei-demo" src="https://user-images.githubusercontent.com/2715151/147772615-da36b3ab-a32a-4f7f-b185-e62f3972f8b7.gif" /></p>
<p>I also added more
<a href="https://github.com/junjizhi/aide.el/blob/master/aide.el#L31-L59">customization</a>
that let you control the API parameters. Other helper commands are added as
well.</p>
<p>Check them out in <a href="https://github.com/junjizhi/aide.el">Github</a>.</p>