Denna webbläsare stöds inte längre.
Uppgradera till Microsoft Edge för att dra nytta av de senaste funktionerna, säkerhetsuppdateringarna och teknisk 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.
Var den här sidan hjälpsam?
Behöver du hjälp med detta ämne?
Vill du prova att använda Ask Learn för att förtydliga eller vägleda dig genom detta ämne?