{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5140,"path":"conversational-interfaces/virtual-agent/slack-synthesized-response.md","title":"Synthesized response in Slack conversations","bundle":null,"doc_type":null,"release":"australia","body":"\n# Synthesized response in Slack conversations\n\nSynthesized responses in Slack conversations are results that are summarized as a single response, allowing users to see information in a conversational way.\n\nWith synthesized responses, the response contains the most relevant items and information, such as:\n\n-   Returning multiple Genius Results and topics in carousel format.\n-   Providing unified search across topics and catalog items.\n-   Providing a Knowledge Base Q&amp;A pipeline that enables multiple snippets from multiple Knowledge Base articles to be passed to the LLM as the context for answer generation.\n\nThe overall synthesized response helps users experience a conversational flow that understands query intent, searches across records of various types, and summarizes results in a unified, easy-to-consume response.\n\nWhen you ask a question in Slack with ServiceNow Otto enabled, you receive a summary of the response with catalog items and topics, followed by the citation links. For example, if you enter `laptop` in your conversations, you see the responses in a synthesized format.\n\n\\[Omitted image \"na-slck-synthesized-rspns.png\"\\] Alt text: Slack synthesized response in a ServiceNow Otto conversation.\n\nWhen you select the **View other options** button, you get the list of available Knowledge Base articles and catalogs, which you can select and then view details.\n\n## Streaming synthesized response\n\nStreaming synthesized responses in Slack conversations provides a faster interaction and more engaged user experience with real-time updates while the messages are processed. To learn more about response streaming, see [Chat streaming responses](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/now-assist-in-virtual-agent/streaming-responses-requestor.md) and [Manage an assistant chat experience](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/now-assist-in-virtual-agent/manage-assistant-chat-experience.md).\n\nTo enable response streaming in Slack conversations, see [Enable ServiceNow Otto for Virtual Agent in Slack](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/enable-na-llm-slack.md). With response streaming enabled in Slack conversations, you can experience the following enhancements:\n\n-   Reduced latency in conversations\n-   Increased engagement\n-   Ability to handle longer or more complex queries effectively\n\n## Example of triggering AI agents through REST API\n\nExample of using the sn\\_aia REST API endpoints to trigger agents through REST API calls.\n\n```\n{\n\"jsonrpc\": \"2.0\",\n\"id\": \"{{$guid}}\",\n\"method\": \"message/send\",\n\"params\": {\n\"message\": {\n\"kind\": \"message\",\n\"role\": \"user\",\n\"parts\": [\n{\n\"kind\": \"text\",\n\"text\": \"Help me plan a calculator app\"\n}\n],\n\"messageId\": \"{{$guid}}\"\n}\n}\n}\n```\n\n**Parent Topic:**[Using ServiceNow Otto for Virtual Agent conversations with Slack](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/na-va-llm-slack.md)\n\n"}}