Download the PHP package darkgoldblade01/paradox-ai-php-sdk without Composer
On this page you can find all versions of the php package darkgoldblade01/paradox-ai-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download darkgoldblade01/paradox-ai-php-sdk
More information about darkgoldblade01/paradox-ai-php-sdk
Files in darkgoldblade01/paradox-ai-php-sdk
Package paradox-ai-php-sdk
Short Description A PHP SDK for Paradox.ai's Olivia.
License
Informations about the package paradox-ai-php-sdk
Paradox.ai Olivia - Un-Official PHP SDK
This is an unofficial PHP SDK developed for use with version 1.0 of the Paradox.ai Olivia API.
Official documentation can be found here.
Getting Started
Include the library via composer
Once included, make sure you have the following from Paradox:
- Account ID
- Secret Key
-
UID
These are required to generate the JWT token used.
Initializing the API
To initialize the API is simple, just create a new instance of Olivia, and include the Account ID, Secret Key, and UID:
From there, you are ready to start interacting with the API!
$olivia->company()
Returns the company resource.
get_conversations($conversations)
Parameter | Type | Default |
---|---|---|
$conversations |
bool | true |
Returns a list of company conversations.
get_locations($locations)
Parameter | Type | Default |
---|---|---|
$locations |
bool | true |
Returns a list of all company locations.
get_ai_assistant()
Parameter | Type | Default |
---|
Returns the AI assistant's name and image.