PHP Classes

PHP OpenAI API Client: Perform AI operations with OpenAI API

Recommend this page to a friend!

  Author Author  
Picture of Niko Peikrishvili
Name: Niko Peikrishvili <contact>
Classes: 4 packages by
Country: Georgia Georgia
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can perform AI operations with OpenAI API.

It can send HTTP requests to the OpenAI API Web servers to perform several operations.

Currently, it can:

- Get all models

- Get a model by name

- Perform completions

- Perform edits

  Classes of Niko Peikrishvili  >  PHP OpenAI API Client  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP OpenAI API Client
Base name: openaiapiclient
Description: Perform AI operations with OpenAI API
Version: 1.0.0
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 1 directory)
Files folder imagetests (4 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageEndpoints (4 files, 2 directories)
  Plain text file ClientBuilder.php Class Class source
  Plain text file OpenAIAPIClient.php Class Class source
  Plain text file ResponseMediator.php Class Class source

  Files folder image Files  /  src  /  Endpoints  
File Role Description
Files folder imageDTO (2 directories)
Files folder imageExceptions (1 file)
  Plain text file Completion.php Class Class source
  Plain text file Edits.php Class Class source
  Plain text file Endpoint.php Class Class source
  Plain text file Models.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  DTO  
File Role Description
Files folder imageRequests (2 files)
Files folder imageResponses (6 files)

  Files folder image Files  /  src  /  Endpoints  /  DTO  /  Requests  
File Role Description
  Plain text file CompletionRequest.php Class Class source
  Plain text file EditsRequest.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  DTO  /  Responses  
File Role Description
  Plain text file Model.php Class Class source
  Plain text file ModelCollection.php Class Class source
  Plain text file Models.php Class Class source
  Plain text file Permission.php Class Class source
  Plain text file PermissionCollection.php Class Class source
  Plain text file Response.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  Exceptions  
File Role Description
  Plain text file InvalidAPIKeyException.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file bootstrap.php Class Class source
  Plain text file HTTPClientTest.php Class Class source
  Plain text file ModelsEndpointTest.php Class Class source
  Plain text file TestCase.php Class Class source

Install with Composer Install with Composer - Download Download all files: openaiapiclient.tar.gz openaiapiclient.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 1 directory)
Files folder imagetests (4 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageEndpoints (4 files, 2 directories)
  Plain text file ClientBuilder.php Class Class source
  Plain text file OpenAIAPIClient.php Class Class source
  Plain text file ResponseMediator.php Class Class source

  Files folder image Files  /  src  /  Endpoints  
File Role Description
Files folder imageDTO (2 directories)
Files folder imageExceptions (1 file)
  Plain text file Completion.php Class Class source
  Plain text file Edits.php Class Class source
  Plain text file Endpoint.php Class Class source
  Plain text file Models.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  DTO  
File Role Description
Files folder imageRequests (2 files)
Files folder imageResponses (6 files)

  Files folder image Files  /  src  /  Endpoints  /  DTO  /  Requests  
File Role Description
  Plain text file CompletionRequest.php Class Class source
  Plain text file EditsRequest.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  DTO  /  Responses  
File Role Description
  Plain text file Model.php Class Class source
  Plain text file ModelCollection.php Class Class source
  Plain text file Models.php Class Class source
  Plain text file Permission.php Class Class source
  Plain text file PermissionCollection.php Class Class source
  Plain text file Response.php Class Class source

  Files folder image Files  /  src  /  Endpoints  /  Exceptions  
File Role Description
  Plain text file InvalidAPIKeyException.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file bootstrap.php Class Class source
  Plain text file HTTPClientTest.php Class Class source
  Plain text file ModelsEndpointTest.php Class Class source
  Plain text file TestCase.php Class Class source

Install with Composer Install with Composer - Download Download all files: openaiapiclient.tar.gz openaiapiclient.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.