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
Copy file name to clipboardExpand all lines: 04-tool-use/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,7 +309,12 @@ A common concern with SQL dynamically generated by LLMs is security, particularl
309
309
310
310
Running the app in a secure environment further enhances protection. In enterprise scenarios, data is typically extracted and transformed from operational systems into a read-only database or data warehouse with a user-friendly schema. This approach ensures that the data is secure, optimized for performance and accessibility, and that the app has restricted, read-only access.
311
311
312
-
### Got More Questions about the Tool Use Design Patterns?
## Got More Questions about the Tool Use Design Patterns?
313
318
314
319
Join the [Azure AI Foundry Discord](https://aka.ms/ai-agents/discord) to meet with other learners, attend office hours and get your AI Agents questions answered.
instructions:"You are a helpful AI Agent that can help plan vacations for customers at random destinations",tools:[AIFunctionFactory.Create(GetRandomDestination)]);
65
+
// Define Agent Identity and Comprehensive Instructions
66
+
// Agent name for identification and logging purposes
67
+
varAGENT_NAME="TravelAgent";
68
+
69
+
// Detailed instructions that define the agent's personality, capabilities, and behavior
70
+
// This system prompt shapes how the agent responds and interacts with users
71
+
varAGENT_INSTRUCTIONS="""
72
+
You are a helpful AI Agent that can help plan vacations for customers.
73
+
74
+
Important: When users specify a destination, always plan for that location. Only suggest random destinations when the user hasn't specified a preference.
54
75
76
+
When the conversation begins, introduce yourself with this message:
77
+
"Hello! I'm your TravelAgent assistant. I can help plan vacations and suggest interesting destinations for you. Here are some things you can ask me:
78
+
1. Plan a day trip to a specific location
79
+
2. Suggest a random vacation destination
80
+
3. Find destinations with specific features (beaches, mountains, historical sites, etc.)
81
+
4. Plan an alternative trip if you don't like my first suggestion
82
+
83
+
What kind of trip would you like me to help you plan today?"
84
+
85
+
Always prioritize user preferences. If they mention a specific destination like "Bali" or "Paris," focus your planning on that location rather than suggesting alternatives.
86
+
""";
87
+
88
+
// Create AI Agent with Advanced Travel Planning Capabilities
Copy file name to clipboardExpand all lines: 04-tool-use/code_samples/04-dotnet-agent-framework.md
+50-34Lines changed: 50 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
5
5
This notebook demonstrates enterprise-grade tool integration patterns using the Microsoft Agent Framework in .NET with GitHub Models. You'll learn to build sophisticated agents with multiple specialized tools, leveraging C#'s strong typing and .NET's enterprise features.
6
6
7
-
**Advanced Tool Capabilities You'll Master:**
7
+
### Advanced Tool Capabilities You'll Master
8
+
8
9
- 🔧 **Multi-Tool Architecture**: Building agents with multiple specialized capabilities
0 commit comments