request
library to be installed.
This function prompts the user to select an OpenAI model and store it in
igor-openai-model
. If initial-model
is provided, set the model to
that without prompting the user.
This function displays a summary and example code for the symbol at
point. It obtains the summary and code by using the xref-backends
to
find the definition of the symbol at point and converting the definition
into org-mode
format.
This function installs the igor eldoc backend. It adds the
igor-eldoc-function
to the eldoc-documentation-functions
.
This function performs a QUERY
on CODE
in LANGUAGE
and sends the
response to CALLBACK
.
This function performs a QUERY
on the region from START
to END
and
displays the response in the help buffer.
This function explains the code in the region from START
to END
and
displays the response in buffer.
This function generates an elisp expression from INSTRUCTION
and asks
the user whether to evaluate it.
This function writes code in a given LANGUAGE
according to an
INSTRUCTION
.
This function writes code at point according to an INSTRUCTION
provided by the user.
This function rewrites the provided CODE
according to an
INSTRUCTION
.
This function rewrites the code in the region between START
and END
according to INSTRUCTION
.
The package’s minor mode.
igor-openai-token
: Your OpenAI API token.igor-openai-model
: The OpenAI model to use.igor-openai-temperature
: The temperature used in OpenAI requests.igor-openai-response-max-tokens
: The max tokens wanted in OpenAI responses.
C-c i r
: callsigor-code-rewrite-region
C-c i w
: callsigor-code-write-at-point
C-c i d
: callsigor-do
C-c i x
: callsigor-code-explain-region
C-c i q
: callsigor-code-query-region