gptel: Add new turbo 0613 models (#77)
gptel.el (gptel-model): Update choices for the OpenAI model. Add the 16k and 32k token versions of the gpt-3.5 and gpt-4 model respectively.
This commit is contained in:
parent
e6df1a5e33
commit
3d98ce8eee
2 changed files with 7 additions and 5 deletions
|
@ -210,11 +210,11 @@ will get progressively longer!"
|
||||||
:class 'transient-lisp-variable
|
:class 'transient-lisp-variable
|
||||||
:variable 'gptel-model
|
:variable 'gptel-model
|
||||||
:key "m"
|
:key "m"
|
||||||
:choices '("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4")
|
:choices '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-32k")
|
||||||
:reader (lambda (prompt &rest _)
|
:reader (lambda (prompt &rest _)
|
||||||
(completing-read
|
(completing-read
|
||||||
prompt
|
prompt
|
||||||
'("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4"))))
|
'("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-32k"))))
|
||||||
|
|
||||||
(transient-define-infix gptel--infix-temperature ()
|
(transient-define-infix gptel--infix-temperature ()
|
||||||
"Temperature of request."
|
"Temperature of request."
|
||||||
|
|
8
gptel.el
8
gptel.el
|
@ -197,8 +197,9 @@ will get progressively longer!"
|
||||||
|
|
||||||
The current options are
|
The current options are
|
||||||
- \"gpt-3.5-turbo\"
|
- \"gpt-3.5-turbo\"
|
||||||
- \"gpt-3.5-turbo-0301\"
|
- \"gpt-3.5-turbo-16k\"
|
||||||
- \"gpt-4\" (experimental)
|
- \"gpt-4\" (experimental)
|
||||||
|
- \"gpt-4-32k\" (experimental)
|
||||||
|
|
||||||
To set the model for a chat session interactively call
|
To set the model for a chat session interactively call
|
||||||
`gptel-send' with a prefix argument."
|
`gptel-send' with a prefix argument."
|
||||||
|
@ -206,8 +207,9 @@ To set the model for a chat session interactively call
|
||||||
:group 'gptel
|
:group 'gptel
|
||||||
:type '(choice
|
:type '(choice
|
||||||
(const :tag "GPT 3.5 turbo" "gpt-3.5-turbo")
|
(const :tag "GPT 3.5 turbo" "gpt-3.5-turbo")
|
||||||
(const :tag "GPT 3.5 turbo 0301" "gpt-3.5-turbo-0301")
|
(const :tag "GPT 3.5 turbo 16k" "gpt-3.5-turbo-16k")
|
||||||
(const :tag "GPT 4 (experimental)" "gpt-4")))
|
(const :tag "GPT 4 (experimental)" "gpt-4")
|
||||||
|
(const :tag "GPT 4 32k (experimental)" "gpt-4-32k")))
|
||||||
|
|
||||||
(defcustom gptel-temperature 1.0
|
(defcustom gptel-temperature 1.0
|
||||||
"\"Temperature\" of ChatGPT response.
|
"\"Temperature\" of ChatGPT response.
|
||||||
|
|
Loading…
Add table
Reference in a new issue