forked from NuQloud/nc-talk-ai
Talk AI is a multi-bot AI assistant manager for Nextcloud Talk: per-bot prompts and models, agentic tool calling (MCP + built-in tools), RAG over Nextcloud files, room-document search, vision and speech-to-text attachments, persistent bot wikis, approval workflows, rate limiting, and multi-provider LLM support (any OpenAI-compatible endpoint). Developed within EDUC - the European Digital UniverCity (https://educalliance.eu), where it runs as the 'EDUC AI' assistant on the alliance-wide Nextcloud portal. This public repository is the upstream point of truth; deployment-specific tools plug in via the tool-provider extension point (docs/TOOL_PROVIDERS.md). License: AGPL-3.0-or-later.
25 lines
604 B
PHP
25 lines
604 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\EducAI\Settings;
|
|
|
|
use OCA\EducAI\Service\AppIconService;
|
|
use OCP\IL10N;
|
|
use OCP\Settings\IIconSection;
|
|
|
|
class PersonalSection implements IIconSection {
|
|
public function __construct(
|
|
private IL10N $l10n,
|
|
private AppIconService $appIconService,
|
|
) {}
|
|
|
|
public function getID(): string { return 'educai'; }
|
|
public function getName(): string { return \OCA\EducAI\AppInfo\Application::APP_DISPLAY_NAME; }
|
|
public function getPriority(): int { return 50; }
|
|
public function getIcon(): string {
|
|
return $this->appIconService->getSettingsSectionIcon();
|
|
}
|
|
}
|
|
|