Download src/Ai/Domain/ValueObjects/MessageRole.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/MessageRole.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/ValueObjects/MessageRole.php
-
curl -L -o MessageRole.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/MessageRole.php
350 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\ValueObjects; | |
| use JsonSerializable; | |
| use Override; | |
| enum MessageRole: string implements JsonSerializable | |
| { | |
| case SYSTEM = 'system'; | |
| case USER = 'user'; | |
| case ASSISTANT = 'assistant'; | |
| public function jsonSerialize(): string | |
| { | |
| return $this->value; | |
| } | |
| } | |