Use the WebSocket protocol to connect a website or application to a Squiz Conversational Search agent and display answers as they are generated. This page introduces the connection and message flow for developers implementing the client-side connection.
-
Connect to the websocket and send a question
-
Handle connection responses, streamed answer text, completion events, and errors.
-
Manage conversations, keep connections alive, collect feedback, and implement a client.
-
Diagnose connection, answer, and conversation-state problems.