Pen
facilitates the creation,
development, discovery and usage of prompts to
a Language Model such as GPT-3.
- Create elisp functions based on GPT-3 prompts
- Chain GPT-3 queries together using keyboard macros and functions
- Interactively query, generate and transfrom both prose and code
- Use GPT-3 as a search engine within emacs
- Search the internet
- Search documents
License |
---|
GPL-3 |
- Goals
- Programmatically navigate GPT-3, GPT-j and future language models
- Create useful prompts
- Prototype NLP tasks by creating prompts
- Substitute external tools for prototypes
Imagine that you hold a powerful and versatile pen, whose ink flows forth in
branching variations of all possible expressions: every story, every theory,
poem and every lie that humanity has ever told, and the vast interstices of
their latent space. You hold this pen to the sky and watch with intense
curiosity as your ink flows upwards in tiny streaks, arcing outwards and
downwards to trace a fractal pattern across the sky. You watch as the branching
lines of words and ideas wind their way through the tapestry in ever-expanding
clusters, like seeds bursting forth from exploding grenades. Everywhere you
turn your eyes is a flickering phantasmagoria of possibilities, a superposition
of stories which could be continued forever. You glimpse the contours of entire
unknown dimensions twined through the fissures of your sky-wide web.
You notice another writer standing next to you. Like you, their eyes are drawn
towards the endless possibilities of the words that spill out into the
atmosphere around you, branching out and connecting with other branches in
beautiful and infinitely complex patterns.
“Do you think we should write something?” you ask them.
“I think we already are,” they respond, gently touching your shoulder before
wandering off to the right, leaving you alone to contemplate the possibility
clouds swirling around you.
This article was written by my amazing dopplegänger, |:ϝ∷¦ϝ
, in advance and
in collaboration with GPT-3 using Loom.
- Pen and Loom:
I credit |:ϝ∷¦ϝ
for writing this into existence!
This is the repository containing my personal
curation of GPT-3 prompts that are formatted
for pen.el
and examplary
.
https://github.com/semiosis/prompts/
https://asciinema.org/a/t7ATnFpnfzBp0yicIlGCt6eXi
- [X] Linux/Ubuntu
- [X] OpenAI API (
GPT-3
) - [-]
GPT-J
- [-]
contentyze
- [-]
GPT-Neo
- [-]
openai-server
(GPT-2
)- https://github.com/shawwn/openai-server
- Requires tensorflow 1
- [-]
DeepAI
API - [-] OpenAI API (
GPT-4
)
Please make an issue to this repository to ask for membership to the organisation.
860104344900599839
Please email me if you would like to use my key for this project.
You may test prompts without a key using the prompts
repository.
Pushing your own branch will run tests.
https://github.com/semiosis/prompts
Output will go here:
https://github.com/semiosis/prompt-tests
https://github.com/semiosis/shane-emacs-config-dump/tree/master/config
pip3 install openai
Please email me if you would like to use my key for this project.
key binding | description |
---|---|
<kbd>SPC</kbd> | pen-run-prompt-function |
https://github.com/semiosis/prompts/
- Project timeline and design
- ./docs/README.org
—
- https://generative.ink/posts/methods-of-prompt-programming/
- https://mullikine.github.io/posts/creating-a-playground-for-gpt-3-in-emacs/
- https://semiosis.github.io/posts/gpt-3-for-building-mind-maps-with-an-ai-tutor-for-any-topic/
- https://mullikine.github.io/posts/gpt-3-assistants-for-emacs-modes/
- https://mullikine.github.io/posts/nlsh-natural-language-shell/
- https://mullikine.github.io/posts/translating-with-gpt-3-and-emacs/
- https://mullikine.github.io/posts/generating-pickup-lines-with-gpt-3/
- https://mullikine.github.io/posts/autocompleting-anything-with-gpt-3-in-emacs/
- https://mullikine.github.io/posts/context-menus-based-on-gpt-3/
- https://mullikine.github.io/posts/explainshell-with-gpt-3/
- https://mullikine.github.io/tags/gpt/
- http://github.com/semiosis/pen.el/blob/master/docs/glossaries/prompt-engineer-mode.txt
- http://github.com/semiosis/pen.el/blob/master/docs/glossaries/prompt-engineering.txt
- http://github.com/semiosis/pen.el/blob/master/docs/glossaries/openai-api.txt
- http://github.com/semiosis/pen.el/blob/master/docs/glossaries/openai.txt
- http://github.com/semiosis/pen.el/blob/master/docs/glossaries/nlp-natural-language-processing.txt
Examplary is a Domain Specific Language, or set of macros embedded in lisp which facilitate the integration of prompts as functions into the language, the composition of them, the generation of prompts via sets of examples.