The Future AI SDK provides a WebSocket-based session-like system for real-time communication with the Future AI platform. It processes email content using AI to extract valuable insights about user interests and meaningful contacts.
Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | Your Future AI API key |
iframeUrl | string | Yes | URL for the Future AI iframe interface |
serverUrl | string | Yes | Base URL for REST API endpoints |
websocketUrl | string | Yes | WebSocket server URL |
onSessionUpdate | function | Yes | Callback for session state updates |
auth | object | No | Authentication configuration |
onError | function | No | Error handling callback |