Skip to content

Commit fc439d2

Browse files
authored
feat(meta): Add containers interface to client (#704)
1 parent 6a7c4bc commit fc439d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Contracts/ClientContract.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use OpenAI\Contracts\Resources\BatchesContract;
88
use OpenAI\Contracts\Resources\ChatContract;
99
use OpenAI\Contracts\Resources\CompletionsContract;
10+
use OpenAI\Contracts\Resources\ContainersContract;
1011
use OpenAI\Contracts\Resources\ConversationsContract;
1112
use OpenAI\Contracts\Resources\EditsContract;
1213
use OpenAI\Contracts\Resources\EmbeddingsContract;
@@ -59,6 +60,13 @@ public function realtime(): RealtimeContract;
5960
*/
6061
public function chat(): ChatContract;
6162

63+
/**
64+
* Create and manage containers for use with the Code Interpreter tool.
65+
*
66+
* @see https://platform.openai.com/docs/api-reference/containers
67+
*/
68+
public function containers(): ContainersContract;
69+
6270
/**
6371
* Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
6472
*

0 commit comments

Comments
 (0)