mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
98819e5e94
Co-authored-by: crickman <66376200+crickman@users.noreply.github.com>
24 lines
755 B
C#
24 lines
755 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.ComponentModel;
|
|
|
|
namespace Microsoft.Agents.AI.Abstractions.IntegrationTests;
|
|
|
|
/// <summary>
|
|
/// Example tools used by the <see cref="MenuConversationTestCase"/> to simulate a restaurant menu service.
|
|
/// </summary>
|
|
internal static class MenuTools
|
|
{
|
|
[Description("Provides a list of today's specials from the restaurant menu.")]
|
|
public static string GetSpecials() =>
|
|
"""
|
|
Special Soup: Clam Chowder
|
|
Special Salad: Cobb Salad
|
|
Special Drink: Chai Tea
|
|
""";
|
|
|
|
[Description("Provides the price of the requested menu item.")]
|
|
public static string GetItemPrice(
|
|
[Description("The name of the menu item.")] string menuItem) => "$9.99";
|
|
}
|