Provider
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.
at line 17
string
driver()
Get the name of the underlying AI driver.
at line 24
array
providerCredentials()
Get the credentials for the underlying AI provider.
at line 31
array
additionalConfiguration()
Get the provider connection configuration other than the driver, key, and name.
at line 40
Provider
withHeaders(array $headers)
| internal |
Get a provider instance that sends the given HTTP headers with each request.