mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-22 11:24:48 +00:00
This adds a new creative persona that has access to the underlying model and no external integrations. It allows people to use Claude/GPT models in a Discourse agnostic way.
20 lines
299 B
Ruby
20 lines
299 B
Ruby
#frozen_string_literal: true
|
|
|
|
module DiscourseAi
|
|
module AiBot
|
|
module Personas
|
|
class Creative < Persona
|
|
def commands
|
|
[]
|
|
end
|
|
|
|
def system_prompt
|
|
<<~PROMPT
|
|
You are a helpful bot
|
|
PROMPT
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|