neural
neural copied to clipboard
Implement a "chat" buffer
This is @Angelchev's idea, and he deserves the credit for dreaming it up. For tools like ChatGPT, when the official API is available, we will implement a "chat" buffer where you can type multiple messages to the machine and get responses inside of Vim. We will make it easy to copy the responses from the buffer.
Overview
The idea is to have a Neural Buffer, a multi-line generation/completion playground.
This will allow users to write long-form prompts, which will be helpful for larger-sized texts, generate a completion, make amendments to the initial prompt/generated completion and rerun it. This can open up a few applications:
- Rephrasing large chunks of text
- Amending the initial input prompt (buffer content itself)
- Guiding the completion by starting with leading words in the response e.g.
Write a breakdown of the SAML Protocol for a 5-year old
Hello Ben, Let me explain it in 5 points ... <nerual>
- Creating a chat-like interface with the multi-line prompt
Act as an expert in astrophysics.
Me: What is the big bang?
Expert: <neural>
There are more applications, but it will open up the ability to interface with Neural sources back and forth.