diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-06-20 14:41:58 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-07-07 13:39:10 +0200 |
commit | 795b097122a8dd70b4d6b9ebe044440396be9104 (patch) | |
tree | 6b899006ec3b537730a5b08d0a52a5551fe237b8 /core/routes.php | |
parent | 9d5717d239d380273f49ea6542c7eee2f0353703 (diff) | |
download | nextcloud-server-795b097122a8dd70b4d6b9ebe044440396be9104.tar.gz nextcloud-server-795b097122a8dd70b4d6b9ebe044440396be9104.zip |
LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 0f9729e54eb..20be6ef63f4 100644 --- a/core/routes.php +++ b/core/routes.php @@ -145,6 +145,10 @@ $application->registerRoutes($this, [ ['root' => '/translation', 'name' => 'TranslationApi#languages', 'url' => '/languages', 'verb' => 'GET'], ['root' => '/translation', 'name' => 'TranslationApi#translate', 'url' => '/translate', 'verb' => 'POST'], + + ['root' => '/languagemodel', 'name' => 'LanguageModelApi#tasks', 'url' => '/tasks', 'verb' => 'GET'], + ['root' => '/languagemodel', 'name' => 'LanguageModelApi#schedule', 'url' => '/schedule', 'verb' => 'POST'], + ['root' => '/languagemodel', 'name' => 'LanguageModelApi#getTask', 'url' => '/task/{id}', 'verb' => 'GET'], ], ]); |