interface Provider

Methods

string
name()

Get the name of the underlying AI provider.

string
driver()

Get the name of the underlying AI driver.

array
providerCredentials()

Get the credentials for the underlying AI provider.

array
additionalConfiguration()

Get the provider connection configuration other than the driver, key, and name.

withHeaders(array $headers)

Get a provider instance that sends the given HTTP headers with each request.

Details

at line 12
string name()

Get the name of the underlying AI provider.

Return Value

string

at line 17
string driver()

Get the name of the underlying AI driver.

Return Value

string

at line 24
array providerCredentials()

Get the credentials for the underlying AI provider.

Return Value

array

at line 31
array additionalConfiguration()

Get the provider connection configuration other than the driver, key, and name.

Return Value

array

at line 40
Provider withHeaders(array $headers)

internal  
 

Get a provider instance that sends the given HTTP headers with each request.

Parameters

array $headers

Return Value

Provider