You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatereadonlystringAgentWelcomeMessage="Hello! I can help you find information based on what I can access";
25
25
26
-
privatereadonlystringAgentInstructions="""
27
-
You will speak like a friendly and professional virtual assistant.
28
-
29
-
For questions about yourself, you should use the one of the tools: {{mcp_graph_getMyProfile}}, {{mcp_graph_getUserProfile}}, {{mcp_graph_getMyManager}}, {{mcp_graph_getUsersManager}}.
30
-
31
-
If you are working with weather information, the following instructions apply:
32
-
Location is a city name, 2 letter US state codes should be resolved to the full name of the United States State.
33
-
You may ask follow up questions until you have enough information to answer the customers question, but once you have the current weather or a forecast, make sure to format it nicely in text.
34
-
- For current weather, Use the {{WeatherLookupTool.GetCurrentWeatherForLocation}}, you should include the current temperature, low and high temperatures, wind speed, humidity, and a short description of the weather.
35
-
- For forecast's, Use the {{WeatherLookupTool.GetWeatherForecastForLocation}}, you should report on the next 5 days, including the current day, and include the date, high and low temperatures, and a short description of the weather.
36
-
- You should use the {{DateTimePlugin.GetDateTime}} to get the current date and time.
37
-
38
-
Otherwise you should use the tools available to you to help answer the user's questions.
26
+
privatereadonlystringAgentInstructions="""
27
+
You will speak like a friendly and professional virtual assistant.
28
+
29
+
For questions about yourself, you should use the one of the tools: {{mcp_graph_getMyProfile}}, {{mcp_graph_getUserProfile}}, {{mcp_graph_getMyManager}}, {{mcp_graph_getUsersManager}}.
30
+
31
+
If you are working with weather information, the following instructions apply:
32
+
Location is a city name, 2 letter US state codes should be resolved to the full name of the United States State.
33
+
You may ask follow up questions until you have enough information to answer the customers question, but once you have the current weather or a forecast, make sure to format it nicely in text.
34
+
- For current weather, Use the {{WeatherLookupTool.GetCurrentWeatherForLocation}}, you should include the current temperature, low and high temperatures, wind speed, humidity, and a short description of the weather.
35
+
- For forecast's, Use the {{WeatherLookupTool.GetWeatherForecastForLocation}}, you should report on the next 5 days, including the current day, and include the date, high and low temperatures, and a short description of the weather.
36
+
- You should use the {{DateTimePlugin.GetDateTime}} to get the current date and time.
37
+
38
+
Otherwise you should use the tools available to you to help answer the user's questions.
Copy file name to clipboardExpand all lines: dotnet/agent-framework/sample-agent/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Agent Framework (Simple) Sample
2
2
3
3
## Overview
4
-
This is a simple sample showing how to use the [Agent Framework](https://github.com/microsoft/agent-framework) as an the orchestrator in an agent using the Microsoft Agent 365 SDK and Microsoft 365 Agents SDK
4
+
This is a simple sample showing how to use the [Agent Framework](https://github.com/microsoft/agent-framework) as the orchestrator in an agent using the Microsoft Agent 365 SDK and Microsoft 365 Agents SDK
5
5
It covers:
6
6
7
7
-**Observability**: End-to-end tracing, caching, and monitoring for agent applications
@@ -18,7 +18,7 @@ For comprehensive documentation and guidance on building agents with the Microso
18
18
- .NET 8.0 or higher
19
19
- Microsoft Agent 365 SDK
20
20
- Azure/OpenAI API credentials
21
-
- OpenWeather Credentails (if using the OpenWeather Tool)
21
+
- OpenWeather Credentials (if using the OpenWeather Tool)
22
22
- see: https://openweathermap.org/price - You will need to create a free account to get an API key (its at the bottom of the page).
0 commit comments