From 6fea3779c7e6b94d53dbf4f9db37c1290cc27390 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 27 Aug 2024 12:42:16 +0900 Subject: [PATCH] chore: update completion.py reponses -> responses --- aleph_alpha_client/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleph_alpha_client/completion.py b/aleph_alpha_client/completion.py index ffb0a2a..e49b92b 100644 --- a/aleph_alpha_client/completion.py +++ b/aleph_alpha_client/completion.py @@ -60,7 +60,7 @@ class CompletionRequest: *Potential use case for a chatbot-based completion:* - Instead of using ``repetition_penalties_include_prompt``, construct a new string with only the chatbot's reponses included. You would leave out any tokens you use for stop sequences (i.e. ``\\nChatbot:``), and all user messages. + Instead of using ``repetition_penalties_include_prompt``, construct a new string with only the chatbot's responses included. You would leave out any tokens you use for stop sequences (i.e. ``\\nChatbot:``), and all user messages. With this bias, if you turn up the repetition penalties, you can avoid having your chatbot repeat itself, but not penalize the chatbot from mirroring language provided by the user.