By leveraging theDocumentation Index
Fetch the complete documentation index at: https://documentation.dumgum.com/llms.txt
Use this file to discover all available pages before exploring further.
answer.processing event, you can notify your users that the persona profile is currently typing on user interface (e.g. displaying the well-known three dots).
How-To Implement This Feature
To handle theanswer.processing events server-side, follow these steps:
- When an
answer.processingevent is received, parse the event data to extract necessary information such as user ID and persona profile ID. - Update your application state to reflect that the persona profile is currently generating a response. This can involve setting a flag or updating a UI component (e.g. displaying a 3-dots animation for example).
We recommend you to use WebSocket or Server-Sent Events to update client-side UI.