"ai-extension". Select text and send it to the chatbot.
Put your openai api key in the env var OPENAI_API_KEY
or in ~/.llminterface/.secrets.toml
.
The general usage is to select some text in an editor, then run the command you want.
AI Refactor
. Select some code, then run the command, and it will replace and try to fix any errors.AI Description 2 Code
. Select some text, then run the command, and it will try to generate code from the description.AI Chat
. Select some text, then run the command, and it will just call the chatgpt model and output the result.
- Less copy and pasting to chatgpt, but getting the same work done.
List 2 code
. Given a list of steps. Select the steps, then it will call openai to make code for each step.