Hiyve Components - v1.0.0
    Preparing search index...
    • AIAssistant provides a full-featured conversational AI interface

      Integrates with @hiyve/react-intelligence hooks to provide intelligent responses based on meeting context, transcripts, and history.

      Parameters

      Returns Element

      import { CloudProvider, AIAssistant } from '@hiyve/react-intelligence';

      function MeetingRoom({ roomId }) {
      return (
      <CloudProvider generateCloudToken={generateToken}>
      <AIAssistant
      roomId={roomId}
      userId="user@example.com"
      showQuickActions
      showHeader
      />
      </CloudProvider>
      );
      }
      <AIAssistant
      roomId={roomId}
      userId="user@example.com"
      quickActions={[
      { id: 'summary', label: 'Summarize', query: 'Summarize the meeting' },
      { id: 'actions', label: 'Action Items', query: 'List action items' },
      ]}
      suggestions={[
      'What were the key decisions?',
      'Who spoke the most?',
      ]}
      />
      <AIAssistant
      roomId={roomId}
      onSend={async (message) => {
      const response = await myCustomAI(message);
      return response;
      }}
      />