gptel: Update commentary and README

This commit is contained in:
Karthik Chikmagalur 2023-03-19 19:58:19 -07:00
parent f0eba0cf4f
commit 4f3ca23454
2 changed files with 16 additions and 6 deletions

View file

@ -1,5 +1,7 @@
#+title: GPTel: A simple ChatGPT client for Emacs #+title: GPTel: A simple ChatGPT client for Emacs
[[https://melpa.org/#/gptel][file:https://melpa.org/packages/gptel-badge.svg]]
GPTel is a simple, no-frills ChatGPT client for Emacs. GPTel is a simple, no-frills ChatGPT client for Emacs.
[[file:img/gptel.png]] [[file:img/gptel.png]]

View file

@ -27,7 +27,7 @@
;;; Commentary: ;;; Commentary:
;; A ChatGPT client for Emacs. ;; A simple ChatGPT client for Emacs.
;; ;;
;; Requirements: ;; Requirements:
;; - You need an OpenAI API key. Set the variable `gptel-api-key' to the key or to ;; - You need an OpenAI API key. Set the variable `gptel-api-key' to the key or to
@ -36,12 +36,20 @@
;; - Not required but recommended: Install `markdown-mode'. ;; - Not required but recommended: Install `markdown-mode'.
;; ;;
;; Usage: ;; Usage:
;; - M-x gptel: Start a ChatGPT session ;; gptel can be used in any buffer or in a dedicated chat buffer.
;; - C-u M-x gptel: Start another or multiple independent ChatGPT sessions
;; ;;
;; - In the GPT session: Press `C-c RET' (control + c, followed by return) to send ;; To use this in a dedicated buffer:
;; your prompt. ;; - M-x gptel: Start a ChatGPT session
;; - To jump between prompts, use `C-c C-n' and `C-c C-p'. ;; - C-u M-x gptel: Start another session or multiple independent ChatGPT sessions
;;
;; - In the chat session: Press `C-c RET' (`gptel-send') to send
;; your prompt. Use a prefix argument (`C-u C-c RET') to set chat parameters.
;;
;; To use this in any buffer:
;;
;; - Select a region of text and call `gptel-send'. Call with a prefix argument
;; to set chat parameters.
;; - You can select previous prompts and responses to continue the conversation.
;;; Code: ;;; Code:
(declare-function markdown-mode "markdown-mode") (declare-function markdown-mode "markdown-mode")