discourse-ai/lib/ai_bot/commands
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
..
categories_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
command.rb FEATURE: allow personas to provide command options (#331) 2023-12-08 08:42:56 +11:00
dall_e_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
db_schema_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
google_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
image_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
option.rb FEATURE: allow personas to provide command options (#331) 2023-12-08 08:42:56 +11:00
parameter.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
read_command.rb Revert "FIX: Use Guardian.basic_user instead of new (anon) (#332)" (#337) 2023-12-06 16:26:43 +10:00
search_command.rb FEATURE: allow personas to provide command options (#331) 2023-12-08 08:42:56 +11:00
search_settings_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
setting_context_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
summarize_command.rb Revert "FIX: Use Guardian.basic_user instead of new (anon) (#332)" (#337) 2023-12-06 16:26:43 +10:00
tags_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
time_command.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00