gpt4emacs

Description

A modern M-x doctor for Emacs 😉

This module provides a simple prompt to query the OpenAI API within Emacs, either on the region, the whole buffer, or out of the blue.

Not in real time 😉Not in real time 😉

It exposes only one single (asynchronous) command, uses the configure system to set the API key, the temperature, and the model, and pays special attention to human languages encodings and compatibility.

Features

  • Optional replacement of the selection
  • Customizable gpt-rules directive to append to any further query, editable on-the-fly ;
  • Optional display of the token data (Prompt, Completion, Total)
  • UTF-8 aware

Brought to you by yPhil. Please consider helping ♥ here or here. Icon by Buuf.