Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph/prebuilt
createReactAgentAnnotation
Function createReactAgentAnnotation
create
React
Agent
Annotation
<
T
>
(
)
:
AnnotationRoot
<
{
messages
:
BinaryOperatorAggregate
<
BaseMessage
[]
,
Messages
>
;
structuredResponse
:
{
Root
:
(
<
S
>
(
sd
)
=>
AnnotationRoot
<
S
>
)
;
(
)
:
LastValue
<
T
>
;
(
annotation
)
:
BinaryOperatorAggregate
<
T
,
T
>
;
}
;
}
>
Type Parameters
T
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Returns
AnnotationRoot
<
{
messages
:
BinaryOperatorAggregate
<
BaseMessage
[]
,
Messages
>
;
structuredResponse
:
{
Root
:
(
<
S
>
(
sd
)
=>
AnnotationRoot
<
S
>
)
;
(
)
:
LastValue
<
T
>
;
(
annotation
)
:
BinaryOperatorAggregate
<
T
,
T
>
;
}
;
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API Reference
Loading...