Back to documentation
  • Preparing search index...
  • The search index is not available
API Reference
  • API Reference
  • langgraph/prebuilt
  • createReactAgentAnnotation

Function createReactAgentAnnotation

  • createReactAgentAnnotation<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>;
        };
    }>

    • Defined in libs/langgraph/dist/prebuilt/react_agent_executor.d.ts:34

Settings

Member Visibility

Theme

API Reference
  • Loading...

Generated using TypeDoc