File tree Expand file tree Collapse file tree 5 files changed +9
-0
lines changed
lib/public/TextProcessing Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,15 @@ public function __construct(
4646
4747 /**
4848 * @inheritDoc
49+ * @since 27.1.0
4950 */
5051 public function getName (): string {
5152 return $ this ->l ->t ('Free prompt ' );
5253 }
5354
5455 /**
5556 * @inheritDoc
57+ * @since 27.1.0
5658 */
5759 public function getDescription (): string {
5860 return $ this ->l ->t ('Runs an arbitrary prompt through the built-in language model. ' );
Original file line number Diff line number Diff line change @@ -46,13 +46,15 @@ public function __construct(
4646
4747 /**
4848 * @inheritDoc
49+ * @since 27.1.0
4950 */
5051 public function getName (): string {
5152 return $ this ->l ->t ('Generate headline ' );
5253 }
5354
5455 /**
5556 * @inheritDoc
57+ * @since 27.1.0
5658 */
5759 public function getDescription (): string {
5860 return $ this ->l ->t ('Generates a possible headline for a text ' );
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ public function process(string $prompt): string;
5555 * Returns the task type class string of the task type, that this
5656 * provider handles
5757 *
58+ * @since 27.1.0
5859 * @return class-string<T>
5960 */
6061 public function getTaskType (): string ;
Original file line number Diff line number Diff line change @@ -46,13 +46,15 @@ public function __construct(
4646
4747 /**
4848 * @inheritDoc
49+ * @since 27.1.0
4950 */
5051 public function getName (): string {
5152 return $ this ->l ->t ('Summarize ' );
5253 }
5354
5455 /**
5556 * @inheritDoc
57+ * @since 27.1.0
5658 */
5759 public function getDescription (): string {
5860 return $ this ->l ->t ('Summarizes text by reducing its length without losing key information. ' );
Original file line number Diff line number Diff line change @@ -46,13 +46,15 @@ public function __construct(
4646
4747 /**
4848 * @inheritDoc
49+ * @since 27.1.0
4950 */
5051 public function getName (): string {
5152 return $ this ->l ->t ('Extract topics ' );
5253 }
5354
5455 /**
5556 * @inheritDoc
57+ * @since 27.1.0
5658 */
5759 public function getDescription (): string {
5860 return $ this ->l ->t ('Extracts topics from a text and outputs them separated by commas. ' );
You can’t perform that action at this time.
0 commit comments