Applies to Product - Power Apps
What’s happening?
The Copilot Studio Generative AI answer node is experiencing an issue where citations from local documents (text documents stored within the chatbot) are being referenced as blank when included in the response alongside the AI-generated answer. This issue occurs specifically when the AI answer is stored in a variable and then appended within a message node.
Reason:
This arises due to the handling of citations when the response is sent from the Generative AI node to the message node. It appears that the system does not correctly transfer citation information when custom messages are used.
Resolution:
- Variable Assignment: Ensure that the variable storing the generative AI answer is correctly capturing the entire response, including the citations. Adjust how the variable is assigned or referenced if necessary.
- Message Node Configuration: Verify that the message node is properly configured to display the content of the variable without altering or stripping out the citations. The message node may not be handling the citations correctly.
- Local Document Handling: Since the issue only affects local documents, check for any settings or configurations within Copilot Studio that might affect the handling of local document references.
- Access Settings: Navigate to the settings or configuration section of Copilot Studio, typically found in the main menu or under specific project or workflow settings.
- Review Knowledge Base Configuration: Look for options related to the knowledge base or document handling that control how local documents are referenced and cited.
- Check for Path Issues: Ensure that the paths to the local documents are correct and accessible. Incorrect paths may lead to issues with citations.
- Document Permissions: Verify that Copilot Studio has the necessary permissions to access the local documents. Restricted permissions could prevent the system from reading the documents and generating citations.
- Update Index: If there is an option to reindex or refresh the knowledge base, use it to ensure that any changes to the local documents are recognized by the system.
- Updates and Patches: Ensure that your Copilot Studio is up to date, as there may be updates or patches available that address this specific issue.
