diff --git a/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php b/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php index b992f33e13268..e09211e940be0 100644 --- a/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php +++ b/lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php @@ -39,6 +39,7 @@ public function __construct( * @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 @@ public function getName(): string { * @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 @@ public function getInputShape(): array { ), // 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