2024-10-18 17:01:39 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
Fabricator(:ai_summary) do
|
|
|
|
summarized_text "complete summary"
|
|
|
|
original_content_sha "123"
|
|
|
|
algorithm "test"
|
|
|
|
target { Fabricate(:topic) }
|
|
|
|
summary_type AiSummary.summary_types[:complete]
|
2024-11-04 15:48:11 -05:00
|
|
|
origin AiSummary.origins[:human]
|
2024-10-18 17:01:39 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
Fabricator(:topic_ai_gist, from: :ai_summary) do
|
|
|
|
summarized_text "gist"
|
|
|
|
summary_type AiSummary.summary_types[:gist]
|
2024-11-04 15:48:11 -05:00
|
|
|
origin AiSummary.origins[:system]
|
2024-10-18 17:01:39 -04:00
|
|
|
end
|