mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
eb06faea2d
* Add AG-UI Blazor sample * Add AG-UI getting started samples * Cleanups * Update the dojo samples * cleanups * Fix readme * Address feedback and further cleanups * Fix build * Missing fixes
27 lines
754 B
C#
27 lines
754 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace AGUIDojoServer.SharedState;
|
|
|
|
internal sealed class Recipe
|
|
{
|
|
[JsonPropertyName("title")]
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("skill_level")]
|
|
public string SkillLevel { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("cooking_time")]
|
|
public string CookingTime { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("special_preferences")]
|
|
public List<string> SpecialPreferences { get; set; } = [];
|
|
|
|
[JsonPropertyName("ingredients")]
|
|
public List<Ingredient> Ingredients { get; set; } = [];
|
|
|
|
[JsonPropertyName("instructions")]
|
|
public List<string> Instructions { get; set; } = [];
|
|
}
|