Training
Module
Add knowledge sources to an agent - Online workshop - Training
Learn how to add knowledge sources to your Microsoft Copilot Studio.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Public websites as knowledge sources at the agent level use publicly available information to improve the reach of your agent.
The URL used in your agent represents the scope of content for generating responses. There are requirements and restrictions on some URLs.
The URL can have up to two levels of depth—subpaths indicated by a forward slash /
. A trailing forward slash, however, is allowed.
Valid | Not valid |
---|---|
www.contoso.com www.fabrikam.com/engines/rotary www.fabrikam.com/engines/rotary/ |
www.fabrikam.com/engines/rotary/dual-shaft |
If the URL redirects to another top-level site, the content isn't included in results:
For example, if www.fabrikam.com
redirects to www.contoso.fabrikam.com
, your agent doesn't generate responses from content on either of those URLs.
URLs that point to a website, requiring authentication or ones not indexed by Bing.
For example, wikis and SharePoint sites require authentication, therefore can't be used:
fabrikam.visualstudio.com/project/_wiki
fabrikam.sharepoint.com
Any publicly viewable content in the URL you specify, including subdomains under a top-level domain, generate content for your agent.
Examples:
If you use www.fabrikam.com/engines/rotary
, the content on www.fabrikam.com/engines/rotary/dual-shaft
is also used by the agent to generate responses.
Content on www.fabrikam.com/tools
isn't used, since tools isn't a subdomain of rotary.
If you use www.fabrikam.com
(the www exists), the content on news.fabrikam.com (the www doesn't exist) isn't used, since news. is a subdomain under the top-level domain fabrikam.com.
If you use fabrikam.com, then content on www.fabrikam.com
and news.fabrikam.com is used, since they sit under the top-level domain fabrikam.com.
Your agent might generate nonsensical, irrelevant, or inappropriate answers if you use a forum or social network site as your URL. Therefore, community content on social networks often increases the risk of more answers being rejected.
For more information, see the FAQ for generative answers. AI is trained to avoid generating malicious and offensive responses.
Don't include URLs of search engines like bing.com, as they don't provide useful responses.
To add a public website as a knowledge source, perform the following steps:
Open the agent.
Select Add knowledge from either the Overview or Knowledge pages, or the Properties of a generative answers node.
Select Public websites.
Provide the URL to the public website.
Add a name (by default, the website's URL is used).
Add a description. The description should be as detailed as possible, especially if generative AI is enabled, as the description aids AI orchestration.
Select Add to finish adding the knowledge source.
Test your agent to see how well it responds to questions related to the content from your website. You might want to test edge case questions to decide if you need a lower moderation to be more inclusive.
Note
Training
Module
Add knowledge sources to an agent - Online workshop - Training
Learn how to add knowledge sources to your Microsoft Copilot Studio.