diff options
author | Thanos Apollo <[email protected]> | 2023-04-13 06:48:09 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-04-13 06:48:09 +0300 |
commit | a0900d46630f5d9c891d1f68491c5a784063c6ec (patch) | |
tree | 3820e0f56980cfb606b0e7a60d9ae7ceba152678 /org/emacs.org | |
parent | 2b63834c98ccd8dc4453b2ca4525bd13bd19cc8f (diff) |
emacs: redo chatgpt with emacs-openai using api
Diffstat (limited to 'org/emacs.org')
-rwxr-xr-x | org/emacs.org | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/org/emacs.org b/org/emacs.org index 02a9cd7..538bc28 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -609,14 +609,7 @@ Hook with ~dired-mode~ #+end_src ** ChatGPT #+begin_src emacs-lisp - ;; (require 'quelpa-use-package) - ;; (use-package chatgpt - ;; :quelpa ((chatgpt :fetcher git :url "https://github.com/joshcho/ChatGPT.el.git") :upgrade t) - ;; :init - ;; (require 'python) - ;; (setq chatgpt-repo-path (expand-file-name "chatgpt/" quelpa-build-dir)) - ;; (setq python-interpreter "/usr/bin/python3") - ;; :bind ("C-c q" . chatgpt-query)) + (setq openai-key (password-store-get "chatgpt/api2")) #+end_src * Org-mode Configuration ** org-make-toc |