BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
openai-php
/
client
/
src
/
Testing
/
Resources
📤 Upload
📝 New File
📁 New Folder
Close
Editing: AssistantsTestResource.php
<?php namespace OpenAI\Testing\Resources; use OpenAI\Contracts\Resources\AssistantsContract; use OpenAI\Resources\Assistants; use OpenAI\Responses\Assistants\AssistantDeleteResponse; use OpenAI\Responses\Assistants\AssistantListResponse; use OpenAI\Responses\Assistants\AssistantResponse; use OpenAI\Testing\Resources\Concerns\Testable; final class AssistantsTestResource implements AssistantsContract { use Testable; public function resource(): string { return Assistants::class; } public function create(array $parameters): AssistantResponse { return $this->record(__FUNCTION__, func_get_args()); } public function retrieve(string $id): AssistantResponse { return $this->record(__FUNCTION__, func_get_args()); } public function modify(string $id, array $parameters): AssistantResponse { return $this->record(__FUNCTION__, func_get_args()); } public function delete(string $id): AssistantDeleteResponse { return $this->record(__FUNCTION__, func_get_args()); } public function list(array $parameters = []): AssistantListResponse { return $this->record(__FUNCTION__, func_get_args()); } }
Save
Cancel