Skip to content

Commit f4586fc

Browse files
committed
fix: removes non-implemented API
1 parent 4625360 commit f4586fc

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

src/Resources/Files.php

-45
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace OpenAI\Resources;
66

7-
use Exception;
87
use OpenAI\ValueObjects\Transporter\Payload;
98

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

2827
return $result;
2928
}
30-
31-
/**
32-
* Upload a file that contains document(s) to be used across various endpoints/features.
33-
*
34-
* @see https://beta.openai.com/docs/api-reference/files/upload
35-
*
36-
* @param array<string, mixed> $parameters
37-
*/
38-
public function upload(array $parameters): never
39-
{
40-
throw new Exception('Not implemented yet.');
41-
}
42-
43-
/**
44-
* Delete a file.
45-
*
46-
* @see https://beta.openai.com/docs/api-reference/files/delete
47-
*/
48-
public function delete(string $file): never
49-
{
50-
throw new Exception('Not implemented yet.');
51-
}
52-
53-
/**
54-
* Returns information about a specific file.
55-
*
56-
* @see https://beta.openai.com/docs/api-reference/files/retrieve
57-
*
58-
* @return array<string, mixed>
59-
*/
60-
public function retrieve(string $file): never
61-
{
62-
throw new Exception('Not implemented yet.');
63-
}
64-
65-
/**
66-
* Returns the contents of the specified file
67-
*
68-
* @see https://beta.openai.com/docs/api-reference/files/retrieve-content
69-
*/
70-
public function download(string $file): never
71-
{
72-
throw new Exception('Not implemented yet.');
73-
}
7429
}

0 commit comments

Comments
 (0)