emacs/var/elfeed/db/data/0f/0fbd50b3908dc6ddbe2ffb8d346dc46e55424764
2022-01-03 12:49:32 -06:00

19 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>Recently I stumbled upon <a href="https://github.com/semiosis/pen.el">pen.el</a> which interacts with language models, like OpenAI GTP-3.</p>
<p>This is interesting. Loosely thinking, language models are good complement to Emacs as both are operating on plain text.</p>
<p>I tried pen.el on a Docker container, but it didnt work out of box at my first try.</p>
<p>Also, I look at the <a href="https://beta.openai.com/docs/api-reference/introduction">OpenAI API documentation</a> and it doesnt seem hard to build a wrapper around it.</p>
<p>After a weekends work, here is the first implementation of <a href="https://github.com/junjizhi/aide.el">aide.el</a>.</p>
<blockquote>
<p>Fun fact: The repo name <strong>aide</strong> is generated by <a href="https://beta.openai.com/examples/default-product-name-gen">OpenAI Product Name Generator</a>, which reads like AI + IDE, or AI Dwells (in) Emacs :P</p>
</blockquote>
<p>Think of aide.el as a thin wrapper around APIs like OpenAI.</p>
<p>Currently <code class="language-plaintext highlighter-rouge">aide.el</code> implementation is minimal: You select a region of text in Emacs, run <code class="language-plaintext highlighter-rouge">M-x aide-openai-completion</code>, and Emacs shows how AI responds to it.</p>
<p><a href="https://github.com/junjizhi/aide.el">Try it out</a> and let me know what you think!</p>