Skip to content

Commit

Permalink
FIX: max response temperature setting
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Mar 26, 2024
1 parent 969f1f7 commit aa47b45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/locales/server.en.yml
Expand Up @@ -43,7 +43,7 @@ en:
chatbot_high_trust_groups: "Groups considered high trust for bot interaction"
chatbot_medium_trust_groups: "Groups considered medium trust for bot interaction"
chatbot_low_trust_groups: "Groups considered low trust for bot interaction"
chatbot_request_temperature: "Numeric value within the range of 0 to 100 to determine the level of randomization for AI responses. Higher temp = more creative, lower temp = more conservative. Refer to: <a target='_blank' rel='noopener' href='https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature/'>API docs: temperature</a>"
chatbot_request_temperature: "Numeric value within the range of 0 to 200 to determine the level of randomization for AI responses. Higher temp = more creative, lower temp = more conservative. Refer to: <a target='_blank' rel='noopener' href='https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature/'>API docs: temperature</a>"
chatbot_request_top_p: "Numeric value within the range of 0 to 100. Refer to: <a target='_blank' rel='noopener' href='https://platform.openai.com/docs/api-reference/completions/create#completions/create-top_p'>API docs: top_p</a>"
chatbot_request_frequency_penalty: "Numeric value within the range of -200 to 200. Refer to: <a target='_blank' rel='noopener' href='https://platform.openai.com/docs/api-reference/completions/create#completions/create-frequency_penalty'>API docs: frequency_penalty</a>"
chatbot_request_presence_penalty: "Numeric value within the range of -200 to 200. Refer to: <a target='_blank' rel='noopener' href='https://platform.openai.com/docs/api-reference/completions/create#completions/create-presence_penalty'>API docs: presence_penalty</a>"
Expand Down
2 changes: 1 addition & 1 deletion config/settings.yml
Expand Up @@ -208,7 +208,7 @@ plugins:
client: false
default: 100
min: 0
max: 100
max: 200
chatbot_request_top_p:
client: false
default: 100
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# name: discourse-chatbot
# about: a plugin that allows you to have a conversation with a configurable chatbot in Discourse Chat, Topics and Private Messages
# version: 0.9.3
# version: 0.9.4
# authors: merefield
# url: https://github.com/merefield/discourse-chatbot

Expand Down

0 comments on commit aa47b45

Please sign in to comment.