trait Classifies

Methods

classify(string|array $state, array $questions, string|null $model = null, int $timeout = 30, array $providerOptions = [], array $attachments = [])

Answer the given questions about the state.

bool
supportsClassificationAttachments()

Determine if the provider can classify attachments alongside the state.

Details

at line 30
ClassificationResponse classify(string|array $state, array $questions, string|null $model = null, int $timeout = 30, array $providerOptions = [], array $attachments = [])

Answer the given questions about the state.

Parameters

string|array $state
array $questions
string|null $model
int $timeout
array $providerOptions
array $attachments

Return Value

ClassificationResponse

at line 82
bool supportsClassificationAttachments()

Determine if the provider can classify attachments alongside the state.

Return Value

bool