Skip to content

AlessandroW/emacs-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emacs ChatGPT

This package provides a chat interface to OpenAI via its chat completions API. For a more sophisticated package see ELAIZA.

Installation

Doom Emacs

Add the following to your packages.el

(package! chatgpt :recipe (:host github :repo "AlessandroW/emacs-chatgpt" :branch "main"))

Store your API key either in ~/.authinfo.gpg or chatgpt-api-key.

machine api.openai.com port https login chatgpt password <your-api-key>

Usage

You can prompt the model with M-x chatgpt and chat in the *ChatGPT* buffer using C-c RET.