aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-12-10 09:31:41 +0100
committerGitHub <noreply@github.com>2024-12-10 09:31:41 +0100
commitdd0d6474dbac28c082c439f47db7cd0ef69fc2c2 (patch)
tree34fa619e3c16ba037efa00c0ed42cbee602da25b /lib
parent5af0d137e7ba016488e3717e28d698fda195dc24 (diff)
downloadnextcloud-server-dd0d6474dbac28c082c439f47db7cd0ef69fc2c2.tar.gz
nextcloud-server-dd0d6474dbac28c082c439f47db7cd0ef69fc2c2.zip
fix(TextToTextChatWithTools): Add translator notesfix/texttotextchatwithtools-translator-notes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php b/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php
index b992f33e132..e09211e940b 100644
--- a/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php
+++ b/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php
@@ -39,6 +39,7 @@ class TextToTextChatWithTools implements ITaskType {
* @since 31.0.0
*/
public function getName(): string {
+ // TRANSLATORS Tool calling, also known as function calling, is a structured way to give LLMs the ability to make requests back to the application that called it. You define the tools you want to make available to the model, and the model will make tool requests to your app as necessary to fulfill the prompts you give it.
return $this->l->t('Chat with tools');
}
@@ -47,6 +48,7 @@ class TextToTextChatWithTools implements ITaskType {
* @since 31.0.0
*/
public function getDescription(): string {
+ // TRANSLATORS Tool calling, also known as function calling, is a structured way to give LLMs the ability to make requests back to the application that called it. You define the tools you want to make available to the model, and the model will make tool requests to your app as necessary to fulfill the prompts you give it.
return $this->l->t('Chat with the language model with tool calling support.');
}
@@ -86,6 +88,7 @@ class TextToTextChatWithTools implements ITaskType {
),
// See https://platform.openai.com/docs/api-reference/chat/create#chat-create-tools for the format
'tools' => new ShapeDescriptor(
+ // TRANSLATORS Tool calling, also known as function calling, is a structured way to give LLMs the ability to make requests back to the application that called it. You define the tools you want to make available to the model, and the model will make tool requests to your app as necessary to fulfill the prompts you give it.
$this->l->t('Available tools'),
$this->l->t('The available tools in JSON format'),
EShapeType::Text