function
Guide: AI Assistant
Guide: Control the AI Assistant from your code
Source: useGenAiDispatcher.ts ↗
useGenAiDispatcher()
Hook to retrieve the GenAI dispatcher.
export declare function useGenAiDispatcher(): EnhancedStore["dispatch"];
Returns
EnhancedStore[“dispatch”]
Remarks
This hook must be used within a GenAiStore component.