discourse-ai/lib/ai_bot/personas
Sam 6380ebd829
FEATURE: allow personas to provide command options (#331)
Personas now support providing options for commands.

This PR introduces a single option "base_query" for the SearchCommand. When supplied all searches the persona will perform will also include the pre-supplied filter.

This can allow personas to search a subset of the forum (such as documentation)

This system is extensible we can add options to any command trivially.
2023-12-08 08:42:56 +11:00
..
artist.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
creative.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
dall_e_3.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
general.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
persona.rb FEATURE: allow personas to provide command options (#331) 2023-12-08 08:42:56 +11:00
researcher.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
settings_explorer.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
sql_helper.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00