@@ -74,6 +74,8 @@ class AssistantService {
7474 TextToTextTopics::ID => 10 ,
7575 ];
7676
77+ public array $ informationSources ;
78+
7779 public function __construct (
7880 private ITaskProcessingManager $ taskProcessingManager ,
7981 private TaskNotificationMapper $ taskNotificationMapper ,
@@ -86,6 +88,36 @@ public function __construct(
8688 private IConfig $ config ,
8789 private IShareManager $ shareManager ,
8890 ) {
91+ $ this ->informationSources = [
92+ 'ask_context_chat ' => $ this ->l10n ->t ('Context Chat ' ),
93+ 'transcribe_file ' => $ this ->l10n ->t ('Assistant File Transcription ' ),
94+ 'generate_document ' => $ this ->l10n ->t ('Assistant Document Generation ' ),
95+ 'list_calendars ' => $ this ->l10n ->t ('Nextcloud Calendar ' ),
96+ 'schedule_event ' => $ this ->l10n ->t ('Nextcloud Calendar ' ),
97+ 'find_free_time_slot_in_calendar ' => $ this ->l10n ->t ('Nextcloud Calendar ' ),
98+ 'add_task ' => $ this ->l10n ->t ('Nextcloud Tasks ' ),
99+ 'find_details_of_current_user ' => $ this ->l10n ->t ('Nextcloud User Profile ' ),
100+ 'list_decks ' => $ this ->l10n ->t ('Nextcloud Deck ' ),
101+ 'add_card ' => $ this ->l10n ->t ('Nextcloud Deck ' ),
102+ 'get_coordinates_for_address ' => $ this ->l10n ->t ('OpenStreetMap ' ),
103+ 'get_current_weather_for_coordinates ' => $ this ->l10n ->t ('Norwegian Meteorological Institute Weather Forecast ' ),
104+ 'get_public_transport_route_for_coordinates, ' => $ this ->l10n ->t ('HERE Public Transport API ' ),
105+ 'get_osm_route, ' => $ this ->l10n ->t ('OpenStreetMap ' ),
106+ 'get_osm_link, ' => $ this ->l10n ->t ('OpenStreetMap ' ),
107+ 'get_file_content ' => $ this ->l10n ->t ('Nextcloud Files ' ),
108+ 'get_folder_tree ' => $ this ->l10n ->t ('Nextcloud Files ' ),
109+ 'create_public_sharing_link ' => $ this ->l10n ->t ('Nextcloud Files ' ),
110+ 'send_email ' => $ this ->l10n ->t ('Nextcloud Mail ' ),
111+ 'get_mail_account_list ' => $ this ->l10n ->t ('Nextcloud Mail ' ),
112+ 'list_projects, ' => $ this ->l10n ->t ('OpenProject ' ),
113+ 'list_assignees, ' => $ this ->l10n ->t ('OpenProject ' ),
114+ 'create_work_package ' => $ this ->l10n ->t ('OpenProject ' ),
115+ 'list_talk_conversations ' => $ this ->l10n ->t ('Nextcloud Talk ' ),
116+ 'create_public_conversation ' => $ this ->l10n ->t ('Nextcloud Talk ' ),
117+ 'send_message_to_conversation ' => $ this ->l10n ->t ('Nextcloud Talk ' ),
118+ 'list_messages_in_conversation ' => $ this ->l10n ->t ('Nextcloud Talk ' ),
119+ 'duckduckgo_results_json ' => $ this ->l10n ->t ('DuckDuckGo Web Search ' ),
120+ ];
89121 }
90122
91123 /**
0 commit comments