Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions lib/Controller/ChattyLLMController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,98 @@ public function __construct(
'title' => $this->l10n->t('Create a Deck card'),
'icon' => 'CardPlus',
],
'upload_file' => [
'title' => $this->l10n->t('Upload file'),
'icon' => 'Upload',
],
'create_folder' => [
'title' => $this->l10n->t('Create folder'),
'icon' => 'FolderPlus',
],
'move_file' => [
'title' => $this->l10n->t('Move file'),
'icon' => 'FileMove',
],
'copy_file' => [
'title' => $this->l10n->t('Copy file'),
'icon' => 'FileCopy',
],
'delete_file' => [
'title' => $this->l10n->t('Delete file'),
'icon' => 'Delete',
],
'create_bookmark' => [
'title' => $this->l10n->t('Create bookmark'),
'icon' => 'BookmarkPlus',
],
'update_bookmark' => [
'title' => $this->l10n->t('Update bookmark'),
'icon' => 'BookmarkEdit',
],
'delete_bookmark' => [
'title' => $this->l10n->t('Delete bookmark'),
'icon' => 'BookmarkRemove',
],
'create_bookmark_folder' => [
'title' => $this->l10n->t('Create bookmark folder'),
'icon' => 'FolderPlus',
],
'create_circle' => [
'title' => $this->l10n->t('Create circle'),
'icon' => 'AccountGroupPlus',
],
'add_member_to_circle' => [
'title' => $this->l10n->t('Add member to circle'),
'icon' => 'AccountPlus',
],
'remove_member_from_circle' => [
'title' => $this->l10n->t('Remove member from circle'),
'icon' => 'AccountRemove',
],
'update_circle' => [
'title' => $this->l10n->t('Update circle'),
'icon' => 'AccountGroupEdit',
],
'delete_circle' => [
'title' => $this->l10n->t('Delete circle'),
'icon' => 'AccountGroupRemove',
],
'share_with_circle' => [
'title' => $this->l10n->t('Share with circle'),
'icon' => 'ShareVariant',
],
'create_form' => [
'title' => $this->l10n->t('Create form'),
'icon' => 'FormTextbox',
],
'add_question_to_form' => [
'title' => $this->l10n->t('Add question to form'),
'icon' => 'CommentPlus',
],
'delete_form' => [
'title' => $this->l10n->t('Delete form'),
'icon' => 'Delete',
],
'update_form_settings' => [
'title' => $this->l10n->t('Update form settings'),
'icon' => 'Cog',
],
'share_with_user' => [
'title' => $this->l10n->t('Share with user'),
'icon' => 'AccountShare',
],
'share_with_group' => [
'title' => $this->l10n->t('Share with group'),
'icon' => 'AccountGroup',
],
'update_share_permissions' => [
'title' => $this->l10n->t('Update share permissions'),
'icon' => 'LockOpen',
],
'delete_share' => [
'title' => $this->l10n->t('Delete share'),
'icon' => 'Delete',
],
];
}

Expand Down
59 changes: 39 additions & 20 deletions lib/Service/AssistantService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,34 +93,53 @@ public function __construct(
private SystemTagService $systemTagService,
) {
$this->informationSources = [
'add_card' => $this->l10n->t('Nextcloud Deck'),
'add_member_to_circle' => $this->l10n->t('Add member to circle'),
'add_task' => $this->l10n->t('Nextcloud Tasks'),
'ask_context_chat' => $this->l10n->t('Context Chat'),
'transcribe_file' => $this->l10n->t('Assistant audio transcription'),
'generate_document' => $this->l10n->t('Assistant document generation'),
'list_calendars' => $this->l10n->t('Nextcloud Calendar'),
'schedule_event' => $this->l10n->t('Nextcloud Calendar'),
'complete_task' => $this->l10n->t('Complete calendar task'),
'copy_file' => $this->l10n->t('Copy file'),
'create_bookmark' => $this->l10n->t('Create bookmark'),
'create_bookmark_folder' => $this->l10n->t('Create bookmark folder'),
'create_circle' => $this->l10n->t('Create circle'),
'create_folder' => $this->l10n->t('Create folder'),
'create_form' => $this->l10n->t('Create form'),
'create_public_conversation' => $this->l10n->t('Nextcloud Talk'),
'create_public_sharing_link' => $this->l10n->t('Nextcloud Files'),
'create_work_package' => $this->l10n->t('OpenProject'),
'delete_bookmark' => $this->l10n->t('Delete bookmark'),
'delete_circle' => $this->l10n->t('Delete circle'),
'delete_file' => $this->l10n->t('Delete file'),
'delete_form' => $this->l10n->t('Delete form'),
'delete_share' => $this->l10n->t('Delete share'),
'delete_task' => $this->l10n->t('Delete calendar task'),
'duckduckgo_results_json' => $this->l10n->t('DuckDuckGo web search'),
'find_details_of_current_user' => $this->l10n->t('Nextcloud user profile'),
'find_free_time_slot_in_calendar' => $this->l10n->t('Nextcloud Calendar'),
'add_task' => $this->l10n->t('Nextcloud Tasks'),
'find_person_in_contacts' => $this->l10n->t('Nextcloud Contacts'),
'find_details_of_current_user' => $this->l10n->t('Nextcloud user profile'),
'list_decks' => $this->l10n->t('Nextcloud Deck'),
'add_card' => $this->l10n->t('Nextcloud Deck'),
'generate_document' => $this->l10n->t('Assistant document generation'),
'generate_image' => $this->l10n->t('Assistant image generation'),
'get_circle_details' => $this->l10n->t('Get circle details'),
'get_coordinates_for_address' => $this->l10n->t('OpenStreetMap'),
'get_current_weather_for_coordinates' => $this->l10n->t('Norwegian Meteorological Institute weather forecast'),
'get_public_transport_route_for_coordinates,' => $this->l10n->t('HERE Public transport API'),
'get_osm_route,' => $this->l10n->t('OpenStreetMap'),
'get_osm_link,' => $this->l10n->t('OpenStreetMap'),
'get_file_content' => $this->l10n->t('Nextcloud Files'),
'get_file_content_by_file_link' => $this->l10n->t('Get file content by link'),
'get_folder_tree' => $this->l10n->t('Nextcloud Files'),
'create_public_sharing_link' => $this->l10n->t('Nextcloud Files'),
'generate_image' => $this->l10n->t('Assistant image generation'),
'send_email' => $this->l10n->t('Nextcloud Mail'),
'get_form_details' => $this->l10n->t('Get form details'),
'get_form_responses' => $this->l10n->t('Get form responses'),
'get_mail_account_list' => $this->l10n->t('Nextcloud Mail'),
'list_projects,' => $this->l10n->t('OpenProject'),
'list_assignees,' => $this->l10n->t('OpenProject'),
'create_work_package' => $this->l10n->t('OpenProject'),
'list_talk_conversations' => $this->l10n->t('Nextcloud Talk'),
'create_public_conversation' => $this->l10n->t('Nextcloud Talk'),
'send_message_to_conversation' => $this->l10n->t('Nextcloud Talk'),
'get_osm_link' => $this->l10n->t('OpenStreetMap'),
'get_osm_route' => $this->l10n->t('OpenStreetMap'),
'get_public_transport_route_for_coordinates' => $this->l10n->t('HERE Public transport API'),
'get_share_info' => $this->l10n->t('Get share info'),
'list_assignees' => $this->l10n->t('OpenProject'),
'list_bookmark_folders' => $this->l10n->t('List bookmark folders'),
'list_bookmark_tags' => $this->l10n->t('List bookmark tags'),
'list_bookmarks' => $this->l10n->t('List bookmarks'),
'list_calendars' => $this->l10n->t('Nextcloud Calendar'),
'list_circles' => $this->l10n->t('List circles'),
'list_decks' => $this->l10n->t('Nextcloud Deck'),
'list_forms' => $this->l10n->t('List forms'),
'list_messages_in_conversation' => $this->l10n->t('Nextcloud Talk'),
'duckduckgo_results_json' => $this->l10n->t('DuckDuckGo web search'),
];
Expand Down