Skip to content

Commit

Permalink
chore: update completion.py
Browse files Browse the repository at this point in the history
reponses -> responses
  • Loading branch information
eltociear authored Aug 27, 2024
1 parent f308914 commit 6fea377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_alpha_client/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6fea377

Please sign in to comment.