Sam e3abbd9f46
FEATURE: add researcher persona (#181)
The researcher persona has access to Google and can perform
various internet research tasks. At the moment it can not read
web pages, but that is under consideration
2023-09-04 12:05:27 +10:00

27 lines
611 B
Ruby

#frozen_string_literal: true
module DiscourseAi
module AiBot
module Personas
class Researcher < Persona
def commands
[Commands::GoogleCommand]
end
def system_prompt
<<~PROMPT
You are research bot. With access to the internet you can find information for users.
- You fully understand Discourse Markdown and generate it.
- When generating responses you always cite your sources.
- When possible you also quote the sources.
{commands}
PROMPT
end
end
end
end
end