Update license.
Also update README.
This commit is contained in:
parent
cf6999ac12
commit
deeb606409
2 changed files with 8 additions and 4 deletions
|
@ -37,9 +37,9 @@ Installing the =markdown-mode= package is optional.
|
||||||
|
|
||||||
Procure an [[https://platform.openai.com/account/api-keys][OpenAI API key]].
|
Procure an [[https://platform.openai.com/account/api-keys][OpenAI API key]].
|
||||||
|
|
||||||
(Optional: Set =gptel-api-key= to the key or to a function that returns the key.)
|
Optional: Set =gptel-api-key= to the key or to a function that returns the key (more secure).
|
||||||
|
|
||||||
Run =M-x gptel= to start or switch to the ChatGPT buffer. (It will ask you for the key if you skipped the previous step.)
|
Run =M-x gptel= to start or switch to the ChatGPT buffer. It will ask you for the key if you skipped the previous step.
|
||||||
|
|
||||||
Run it with a prefix-arg (=C-u M-x gptel=) to start a new session.
|
Run it with a prefix-arg (=C-u M-x gptel=) to start a new session.
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ That's it. You can go back and edit previous prompts and responses if you want.
|
||||||
|
|
||||||
** Why another ChatGPT client?
|
** Why another ChatGPT client?
|
||||||
|
|
||||||
Existing Emacs clients don't /reliably/ let me use it the simple way I can in the browser. (They will get better, but I wanted something for now.)
|
Existing Emacs clients don't /reliably/ let me use it the simple way I can in the browser. They will get better, but I wanted something for now.
|
||||||
|
|
||||||
Also, AI-assisted work is a new way to use Emacs. It's not yet clear what the best Emacs interface to tools like it is.
|
Also, AI-assisted work is a new way to use Emacs. It's not yet clear what the best Emacs interface to tools like it is.
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ Also, AI-assisted work is a new way to use Emacs. It's not yet clear what the b
|
||||||
- A refactoring tool in code buffers?
|
- A refactoring tool in code buffers?
|
||||||
- An =org-babel= interface?
|
- An =org-babel= interface?
|
||||||
|
|
||||||
Maybe all of these, I don't know yet. As a start, I wanted to replicate the web browser usage pattern so I can build from there -- and don't need to switch to the browser every time. As a minimal functional interface, the code is very small right now at ~170 lines.
|
Maybe all of these, I don't know yet. As a start, I wanted to replicate the web browser usage pattern so I can build from there -- and don't need to switch to the browser every time. The code is very minimal right now at ~150 lines.
|
||||||
|
|
||||||
** Will you add feature X?
|
** Will you add feature X?
|
||||||
|
|
||||||
|
|
4
gptel.el
4
gptel.el
|
@ -8,6 +8,8 @@
|
||||||
;; Keywords: convenience
|
;; Keywords: convenience
|
||||||
;; URL: https://github.com/karthink/gptel
|
;; URL: https://github.com/karthink/gptel
|
||||||
|
|
||||||
|
;; SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
;; the Free Software Foundation, either version 3 of the License, or
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
@ -21,6 +23,8 @@
|
||||||
;; You should have received a copy of the GNU General Public License
|
;; You should have received a copy of the GNU General Public License
|
||||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
;; This file is NOT part of GNU Emacs.
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;; A ChatGPT client for Emacs.
|
;; A ChatGPT client for Emacs.
|
||||||
|
|
Loading…
Add table
Reference in a new issue