Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/funcs/decisions-create
decisionsCreate
Function decisionsCreate
decisionsCreate
(
client
:
GoogleGenAICore
,
body
:
CreateDecisionRequest
,
api_version
?:
string
,
options
?:
RequestOptions
,
)
:
APIPromise
<
Result
<
CreateDecisionResponse
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Evaluates a batch of structured decision questions against a shared context state.
Parameters
client
:
GoogleGenAICore
body
:
CreateDecisionRequest
Optional
api_version
:
string
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
CreateDecisionResponse
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Evaluates a batch of structured decision questions against a shared context state.