mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
24 lines
415 B
PHP
24 lines
415 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace OCP\LanguageModel\Events;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @since 28.0.0
|
||
|
|
*/
|
||
|
|
class PromptSuccessfulEvent extends AbstractLanguageModelEvent {
|
||
|
|
|
||
|
|
public function __construct(int $requestId,
|
||
|
|
?string $userId,
|
||
|
|
string $appId,
|
||
|
|
private string $output) {
|
||
|
|
parent::__construct($requestId, $userId, $appId);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getOutput(): string {
|
||
|
|
return $this->output;
|
||
|
|
}
|
||
|
|
}
|