I have a project requirement that, when the AI Agent is extracting information from knowledge documents, if the content is within a table then the response output should also be in the same tabular format. But the AI Agent most of the times gives the output in bullets or in free text. How can we ensure a consistent display of tabular format response wherever applicable?
Note: I tried to provide this requirement in the instructions to the AI Agent but it still doesn't display in the required format unless specifically mentioned in the user query.
Yes currently the copilot response is more of a text based and does not provide any response in a tabular form directly.
Since Copilot Studio is not natively returning structured tables, you can try to enhance the AI response via Azure OpenAI API or a Custom Plugin.
Just an suggestion if you can use AI builder and try the below prompt (Custom Prompt).. I havent tried this. :)
Extract the relevant information from the document. If the information exists in a table, return the output in a tabular format like this:
| Column 1 | Column 2 | Column 3 |
|------------|------------|------------|
| Data 1 | Data 2 | Data 3 |
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.