diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-04-07 21:52:56 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-04-07 21:52:56 -0300 |
commit | 25db6bfe0d1df839658df3afe8a7ee44e0c3d3a3 (patch) | |
tree | 95ae296bc6aa75ac4098214226cc46c04d4c0cfb /.config/doom/config.el | |
parent | c68660f3bea9a9c2df16a0b312b2dd9a04d83552 (diff) |
Added finishing touches to ChatGPT in Emacs
Diffstat (limited to '.config/doom/config.el')
-rw-r--r-- | .config/doom/config.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el index 90096540..5d413c34 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -16,6 +16,7 @@ (require 'screenshot) (require 'ox-slack) (require 'deferred) +(require 'private) ;; Private file. Generate manually ;; Doom exposes five (optional) variables for controlling fonts in Doom. Here ;; are the three important ones: @@ -462,3 +463,11 @@ text and copying to the killring." ("repo.or.cz" nil "repo.or.cz" forge-repoorcz-repository) ("git.suckless.org" nil "git.suckless.org" forge-stagit-repository) ("git.sr.ht" nil "git.sr.ht" forge-srht-repository))) + +;; ChatGPT +(require 'chatgpt-shell) +(require 'ob-chatgpt-shell) +(require 'ob-dall-e-shell) +(setq chatgpt-shell-chatgpt-model-version "gpt-3.5-turbo") +(setq chatgpt-shell-chatgpt-streaming "t") +(setq chatgpt-shell-chatgpt-system-prompt "You are a senior Python developer in charge of maintaining a very big application") |