mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-07 20:18:16 +00:00
27b5542357
* Display gists in the hot topics list * Adjust hot topics gist strategy and add a job to generate gists * Replace setting with a configurable batch size * Avoid loading summaries for other topic lists * Tweak gist prompt to focus on latest posts in the context of the OP * Remove serializer hack and rely on core change from discourse/discourse#29291 * Update lib/summarization/strategies/hot_topic_gists.rb Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com> --------- Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
10 lines
174 B
Ruby
10 lines
174 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscourseAi
|
|
module TopicExtensions
|
|
extend ActiveSupport::Concern
|
|
|
|
prepended { has_many :ai_summaries, as: :target }
|
|
end
|
|
end
|