mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 17:30:20 +00:00
Introduce a Discourse Automation based periodical report. Depends on Discourse Automation. Report works best with very large context language models such as GPT-4-Turbo and Claude 2. - Introduces final_insts to generic llm format, for claude to work best it is better to guide the last assistant message (we should add this to other spots as well) - Adds GPT-4 turbo support to generic llm interface
14 lines
500 B
Ruby
14 lines
500 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscourseAi
|
|
module Automation
|
|
AVAILABLE_MODELS = [
|
|
{ id: "gpt-4-turbo", name: "discourse_automation.ai_models.gpt_4_turbo" },
|
|
{ id: "gpt-4", name: "discourse_automation.ai_models.gpt_4" },
|
|
{ id: "gpt-3-5-turbo", name: "discourse_automation.ai_models.gpt_3_5_turbo" },
|
|
{ id: "claude-2", name: "discourse_automation.ai_models.claude_2" },
|
|
{ id: "gemini-pro", name: "discourse_automation.ai_models.gemini_pro" },
|
|
]
|
|
end
|
|
end
|