UseConversationManagerResult: {
    error: any;
    message: SimpleMessage | null;
    messages: ComplexMessage[];
    request: ((name, args) => Promise<boolean>);
    setError: ((error) => void);
    setText: ((text) => void);
    submit: (() => Promise<boolean>);
    text: string;
    thinking: boolean;
    trigger: ((name) => Promise<boolean>);
    typing: boolean;
}

Type declaration

  • error: any
  • message: SimpleMessage | null
  • messages: ComplexMessage[]
  • request: ((name, args) => Promise<boolean>)
      • (name, args): Promise<boolean>
      • Parameters

        • name: string
        • args: any

        Returns Promise<boolean>

  • setError: ((error) => void)
      • (error): void
      • Parameters

        • error: any

        Returns void

  • setText: ((text) => void)
      • (text): void
      • Parameters

        • text: string

        Returns void

  • submit: (() => Promise<boolean>)
      • (): Promise<boolean>
      • Returns Promise<boolean>

  • text: string
  • thinking: boolean
  • trigger: ((name) => Promise<boolean>)
      • (name): Promise<boolean>
      • Parameters

        • name: string

        Returns Promise<boolean>

  • typing: boolean

Generated using TypeDoc