I have tried all the suggestion by my relatively simple topic using Generative Answers from a a few PDF is still leaking the
explanation_of_tool_call
. I have pasted the YAML if that helps, I cannot see why its still showing despite following your suggested approach of explicitly assigning the text response generated by the Generative Answer step into the SendActivity. Would appreciate any insights on this.
kind: AdaptiveDialog
modelDescription: |-
This Topic must be used as the entry point for all questions users have related to the ui.
where do I find call history
how do I submit feedback in CRM
how do I use the timeline
how do I log a phone call
how do I use the Sales Hub
where is the command bar
how do I create a new contact
how do I use quick create
how do I switch between apps in Dynamics
how do I find recent records
how do I navigate the site map
how do I use dashboards in Dynamics
how do I track activities in Dynamics
how do I use the business process flow
how do I find my recent activities
how do I use the Sales app interface
help me with Dynamics 365 Sales UI
how do I use the command bar in a record
how do I find related records
beginDialog:
kind: OnRecognizedIntent
id: main
intent: {}
actions:
- kind: SearchAndSummarizeContent
id: XNGq8u
displayName: Draft generative answers
autoSend: true
variable: Topic.DraftUserGuidanceResponse
userInput: =System.LastMessage.Text
additionalInstructions:
fileSearchDataSource:
searchFilesMode:
kind: SearchSpecificFiles
files:
- msdyn_salesCopilot.file.-UserGuidesPhase1.pdf_bwA
- msdyn_salesCopilot.file._crm_user_guide_phase_1a_20260218_085653.pdf_Rym
- msdyn_salesCopilot.file.dynamics_365_sales_ui_guide_20260218_093709.pdf_dCd
knowledgeSources:
kind: SearchSpecificKnowledgeSources
responseCaptureType: FullResponse
- kind: SendActivity
id: sendActivity_DmhP3F
activity:
value: =Topic.DraftUserGuidanceResponse.Text.Content
attachments:
- kind: AdaptiveCardTemplate
cardContent: |-
{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "Is there any other questions I can help answer for you? ",
"color": "Good",
"weight": "Bolder",
"size": "Medium"
}
],
"horizontalAlignment": "Left",
"spacing": "ExtraSmall"
},
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell"
},
{
"type": "TableCell"
},
{
"type": "TableCell"
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "Image",
"url": "",
"backgroundColor": "#FFFFFF",
"size": "Medium",
"spacing": "Small",
"horizontalAlignment": "Left",
"verticalContentAlignment": "Bottom"
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "User Guidance Agent",
"color": "Attention",
"weight": "Bolder",
"size": "Small"
}
]
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Image",
"url": "",
"size": "Medium",
"horizontalAlignment": "Right",
"verticalContentAlignment": "Bottom"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell"
},
{
"type": "TableCell"
},
{
"type": "TableCell"
}
]
}
],
"spacing": "ExtraSmall",
"showGridLines": false
}
]
}
- kind: EndDialog
id: 7zHrgR
inputType: {}
outputType: {}