GenerateLeadQuizFromUserPrompt
Table of Contents
Methods
-
call()
: GenerateLeadQuizFromUserPromptResponse
-
extractJsonFromResponse()
: array<string|int, mixed>|null
call()
public
call(mixed $userPrompt, callable|null $onMilestoneHit[, bool $isNew = false ][, array<string|int, mixed> $availableActions = [] ]) : GenerateLeadQuizFromUserPromptResponse
Parameters
-
$userPrompt
: mixed
-
-
$onMilestoneHit
: callable|null
-
-
$isNew
: bool
= false
-
-
$availableActions
: array<string|int, mixed>
= []
-
private
extractJsonFromResponse(string $responseText) : array<string|int, mixed>|null
Parameters
-
$responseText
: string
-
Return values
array<string|int, mixed>|null