From 19dd6916fa88fc60915df31c2882eb10ae002e85 Mon Sep 17 00:00:00 2001 From: rjtk Date: Mon, 5 Jun 2023 23:05:36 -0700 Subject: [PATCH] Fix top-p parameter. --- openai-chat.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai-chat.el b/openai-chat.el index d89a6e8..a8318c8 100644 --- a/openai-chat.el +++ b/openai-chat.el @@ -70,7 +70,7 @@ STREAM, STOP, MAX-TOKENS, PRESENCE-PENALTY, FREQUENCY-PENALTY, and LOGIT-BIAS." `(("model" . ,model) ("messages" . ,messages) ("temperature" . ,temperature) - ("top-p" . ,top-p) + ("top_p" . ,top-p) ("n" . ,n) ("stream" . ,stream) ("stop" . ,stop)