This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the function of the @conversationStarter decorator in a declarative agent's main.tsp file?
@conversationStarter
main.tsp
To provide users with example prompts to help them start working with the agent.
To define the agent's security permissions for user interactions.
To specify the agent's data sources for external content.
How do you enable your declarative agent to access OneDrive and SharePoint content as a knowledge source?
Use the @conversationStarter decorator with SharePoint links.
Add an @instructions decorator with SharePoint URLs.
@instructions
Define an operation using AgentCapabilities.OneDriveAndSharePoint in the agent namespace.
AgentCapabilities.OneDriveAndSharePoint
What TypeSpec pattern would you use to add web search capability to your declarative agent?
Add web URLs to the @instructions decorator.
Apply a @webSearch decorator to the agent model.
@webSearch
Define an operation using AgentCapabilities.WebSearch in the agent namespace.
AgentCapabilities.WebSearch
What is the purpose of the @instructions decorator in a declarative agent's TypeSpec definition?
To define the agent's behavior and how it should respond to user queries.
To list available operations and capabilities for the agent.
To configure the deployment settings for the agent.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?