mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
@@ -46,6 +46,7 @@ class FreePromptTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getName(): string {
|
||||
return $this->l->t('Free prompt');
|
||||
@@ -53,6 +54,7 @@ class FreePromptTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getDescription(): string {
|
||||
return $this->l->t('Runs an arbitrary prompt through the built-in language model.');
|
||||
|
||||
@@ -46,6 +46,7 @@ class HeadlineTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getName(): string {
|
||||
return $this->l->t('Generate headline');
|
||||
@@ -53,6 +54,7 @@ class HeadlineTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getDescription(): string {
|
||||
return $this->l->t('Generates a possible headline for a text');
|
||||
|
||||
@@ -55,6 +55,7 @@ interface IProvider {
|
||||
* Returns the task type class string of the task type, that this
|
||||
* provider handles
|
||||
*
|
||||
* @since 27.1.0
|
||||
* @return class-string<T>
|
||||
*/
|
||||
public function getTaskType(): string;
|
||||
|
||||
@@ -46,6 +46,7 @@ class SummaryTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getName(): string {
|
||||
return $this->l->t('Summarize');
|
||||
@@ -53,6 +54,7 @@ class SummaryTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getDescription(): string {
|
||||
return $this->l->t('Summarizes text by reducing its length without losing key information.');
|
||||
|
||||
@@ -46,6 +46,7 @@ class TopicsTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getName(): string {
|
||||
return $this->l->t('Extract topics');
|
||||
@@ -53,6 +54,7 @@ class TopicsTaskType implements ITaskType {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @since 27.1.0
|
||||
*/
|
||||
public function getDescription(): string {
|
||||
return $this->l->t('Extracts topics from a text and outputs them separated by commas.');
|
||||
|
||||
Reference in New Issue
Block a user