This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse-ai
mirror of
https://github.com/discourse/discourse-ai.git
Watch
1
Star
0
Fork
You've already forked discourse-ai
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
54f2d34ccb
discourse-ai
/
db
/
fixtures
/
ai_bot
/
602_bot_users.rb
4 lines
99 B
Ruby
Raw
Normal View
History
Unescape
Escape
FEATURE: Introduce the ai-bot module (#52) This module lets you chat with our GPT bot inside a PM. The bot only replies to members of the groups listed on the ai_bot_allowed_groups setting and only if you invite it to participate in the PM.
2023-05-05 14:28:31 -04:00
# frozen_string_literal: true
FEATURE: defer creation of bot users (#258) Also fixes it so users without bot in header can send it messages. Previous to this change we would seed all bots with database seeds. This lead to lots of confusion for people who do not enable ai bot. Instead: 1. We do not seed any bots **until** user enables the ai_bot_enabled setting 2. If it is disabled we will a. If no messages were created by bot - delete it b. Otherwise we will deactivate account
2023-10-23 02:00:58 -04:00
DiscourseAi
::
AiBot
::
SiteSettingsExtension
.
enable_or_disable_ai_bots