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