├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── phpcs.xml ├── phpunit.xml ├── src ├── Attributes │ ├── MethodDescriptionAttribute.php │ └── ThrowsAttribute.php ├── Endpoints │ ├── Interfaces │ │ ├── EndpointCancelInterface.php │ │ ├── EndpointContentInterface.php │ │ ├── EndpointCreateInterface.php │ │ ├── EndpointDeleteInterface.php │ │ ├── EndpointEditsInterface.php │ │ ├── EndpointEventsInterface.php │ │ ├── EndpointGenerationsInterface.php │ │ ├── EndpointGetInterface.php │ │ ├── EndpointListInterface.php │ │ ├── EndpointTranscriptionsInterface.php │ │ ├── EndpointTranslationsInterface.php │ │ └── EndpointVariationsInterface.php │ ├── OpenAIAudio.php │ ├── OpenAIChat.php │ ├── OpenAICompletions.php │ ├── OpenAIEdits.php │ ├── OpenAIEmbeddings.php │ ├── OpenAIFiles.php │ ├── OpenAIFineTunes.php │ ├── OpenAIImages.php │ ├── OpenAIModels.php │ └── OpenAIModerations.php ├── Exceptions │ ├── OpenAIClientException.php │ └── OpenAIInvalidParameterException.php └── OpenAIClient.php └── tests ├── OpenAIUnitTestCase.php └── Unit ├── OpenAIAudioTest.php ├── OpenAIChatTest.php ├── OpenAIClientTest.php ├── OpenAICompletionsTest.php ├── OpenAIEditsTest.php ├── OpenAIEmbeddingsTest.php ├── OpenAIFilesTest.php ├── OpenAIFineTunesTest.php ├── OpenAIImagesTest.php ├── OpenAIModelsTest.php └── OpenAIModerationsTest.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/composer.lock -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Attributes/MethodDescriptionAttribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Attributes/MethodDescriptionAttribute.php -------------------------------------------------------------------------------- /src/Attributes/ThrowsAttribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Attributes/ThrowsAttribute.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointCancelInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointCancelInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointContentInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointContentInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointCreateInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointCreateInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointDeleteInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointDeleteInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointEditsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointEditsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointEventsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointEventsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointGenerationsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointGenerationsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointGetInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointGetInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointListInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointListInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointTranscriptionsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointTranscriptionsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointTranslationsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointTranslationsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/Interfaces/EndpointVariationsInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/Interfaces/EndpointVariationsInterface.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIAudio.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIAudio.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIChat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIChat.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAICompletions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAICompletions.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIEdits.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIEdits.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIEmbeddings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIEmbeddings.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIFiles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIFiles.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIFineTunes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIFineTunes.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIImages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIImages.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIModels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIModels.php -------------------------------------------------------------------------------- /src/Endpoints/OpenAIModerations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Endpoints/OpenAIModerations.php -------------------------------------------------------------------------------- /src/Exceptions/OpenAIClientException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Exceptions/OpenAIClientException.php -------------------------------------------------------------------------------- /src/Exceptions/OpenAIInvalidParameterException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/Exceptions/OpenAIInvalidParameterException.php -------------------------------------------------------------------------------- /src/OpenAIClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/src/OpenAIClient.php -------------------------------------------------------------------------------- /tests/OpenAIUnitTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/OpenAIUnitTestCase.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIAudioTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIAudioTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIChatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIChatTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIClientTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAICompletionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAICompletionsTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIEditsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIEditsTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIEmbeddingsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIEmbeddingsTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIFilesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIFilesTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIFineTunesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIFineTunesTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIImagesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIImagesTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIModelsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIModelsTest.php -------------------------------------------------------------------------------- /tests/Unit/OpenAIModerationsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webboy/open-ai-api-client/HEAD/tests/Unit/OpenAIModerationsTest.php --------------------------------------------------------------------------------