Files
microsoft--semantic-kernel/dotnet/samples/Demos/AgentFrameworkWithAspire/ChatWithAgent.ApiService/Controllers/AgentCompletionRequest.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

27 lines
659 B
C#

// Copyright (c) Microsoft. All rights reserved.
using Microsoft.SemanticKernel.ChatCompletion;
namespace ChatWithAgent.ApiService;
/// <summary>
/// The agent completion request model.
/// </summary>
public sealed class AgentCompletionRequest
{
/// <summary>
/// Gets or sets the prompt.
/// </summary>
public required string Prompt { get; set; }
/// <summary>
/// Gets or sets the chat history.
/// </summary>
public required ChatHistory ChatHistory { get; set; }
/// <summary>
/// Gets or sets a value indicating whether streaming is requested.
/// </summary>
public bool IsStreaming { get; set; }
}