@coveo/headless
    Preparing search index...

    Interface DocumentSuggestionActionCreators

    The document suggestion action creators.

    See Dispatch actions.

    interface DocumentSuggestionActionCreators {
        fetchDocumentSuggestions(): AsyncThunkAction<
            FetchDocumentSuggestionsThunkReturn,
            void,
            AsyncThunkCaseAssistOptions<StateNeededByFetchDocumentSuggestions>,
        >;
    }
    Index

    Methods

    • Retrieves the document suggestions from the platform. Document suggestions are retrieved based on the case information entered so far.

      Returns AsyncThunkAction<
          FetchDocumentSuggestionsThunkReturn,
          void,
          AsyncThunkCaseAssistOptions<StateNeededByFetchDocumentSuggestions>,
      >

      A dispatchable action.