Skip to content

Commit

Permalink
update job reply delay setting text for better guidance when using vi…
Browse files Browse the repository at this point in the history
…sion, lengthen default
  • Loading branch information
merefield committed Sep 22, 2024
1 parent 3fbb083 commit da56bc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/locales/server.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ en:
chatbot_support_vision: "Bot 'Vision': support sharing of images with bot so you can ask it to describe them. Images must be uploaded to forum and not hotlinked and in RAG mode bot can only see images in current Post it's responding to. Requires compatible model to be selected. 'false' switches vision off, 'directly' will share images potentially on every call, 'via_function' will only share images when requested by a function which might turn out to be cheaper if main model is older generation"
chatbot_open_ai_vision_model: "Open AI Vision model used when 'via_function' or 'directly' options are selected. Used for all interaction if 'directly' is set, overriding all other model settings - caution: monitor costs, this might be expensive!"
chatbot_support_picture_creation: "Bot 'Paint': support creation of images based on text descriptions. Currently powered by DALL-E using the same token Open AI token"
chatbot_reply_job_time_delay: 'Number of seconds before reply job is run. This helps prevent rate limits being hit and discourages spamming.'
chatbot_reply_job_time_delay: 'Number of seconds before reply job is run. This helps prevent rate limits being hit and discourages spamming. If you use bot vision, consider making this a higher number >=2 to help ensure Discourse has enough time to process images before the Post data gets sent to the bot, otherwise the bot may not see the image.'
chatbot_include_whispers_in_post_history: "Include content of whispers in Post history bot sees (careful!)"
chatbot_max_look_behind: "Maximum number of Posts or Chat Messages bot will consider as prompt for completion, the more the more impressive may be its response, but the more costly the interaction will be."
chatbot_strip_quotes: "Determine if quotes are stripped and not sent within prompts (doesn't affect OP)"
Expand Down
4 changes: 2 additions & 2 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ plugins:
default: false
chatbot_reply_job_time_delay:
client: false
default: 1
default: 2
min: 0
max: 3
max: 5
chatbot_open_ai_token:
client: false
default: ''
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -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: 1.0.5
# version: 1.0.6
# authors: merefield
# url: https://github.com/merefield/discourse-chatbot

Expand Down

0 comments on commit da56bc3

Please sign in to comment.