Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
openai-php
/
client
/
src
/
Responses
/
Edits
Location:
/home/zoteqbgb/public_html/vendor/openai-php/client/src/Responses/Edits
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: CreateResponseChoice.php
<?php declare(strict_types=1); namespace OpenAI\Responses\Edits; final class CreateResponseChoice { private function __construct( public readonly string $text, public readonly int $index, ) {} /** * @param array{text: string, index: int} $attributes */ public static function from(array $attributes): self { return new self( $attributes['text'], $attributes['index'], ); } /** * @return array{text: string, index: int} */ public function toArray(): array { return [ 'text' => $this->text, 'index' => $this->index, ]; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
CreateResponse.php
2,505 bytes
0644
2025-03-05 19:52
âï¸
ðï¸
Rename
CreateResponseChoice.php
684 bytes
0644
2025-03-05 19:52
âï¸
ðï¸
Rename
CreateResponseUsage.php
967 bytes
0644
2025-03-05 19:52
âï¸
ðï¸
Rename
Chang
Apply