Skip to content

Commit

Permalink
fix: removes non-implemented API
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 25, 2022
1 parent 4625360 commit f4586fc
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions src/Resources/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace OpenAI\Resources;

use Exception;
use OpenAI\ValueObjects\Transporter\Payload;

final class Files
Expand All @@ -27,48 +26,4 @@ public function list(): array

return $result;
}

/**
* Upload a file that contains document(s) to be used across various endpoints/features.
*
* @see https://beta.openai.com/docs/api-reference/files/upload
*
* @param array<string, mixed> $parameters
*/
public function upload(array $parameters): never
{
throw new Exception('Not implemented yet.');
}

/**
* Delete a file.
*
* @see https://beta.openai.com/docs/api-reference/files/delete
*/
public function delete(string $file): never
{
throw new Exception('Not implemented yet.');
}

/**
* Returns information about a specific file.
*
* @see https://beta.openai.com/docs/api-reference/files/retrieve
*
* @return array<string, mixed>
*/
public function retrieve(string $file): never
{
throw new Exception('Not implemented yet.');
}

/**
* Returns the contents of the specified file
*
* @see https://beta.openai.com/docs/api-reference/files/retrieve-content
*/
public function download(string $file): never
{
throw new Exception('Not implemented yet.');
}
}

0 comments on commit f4586fc

Please sign in to comment.