// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Teams.AI.Templates;
///
/// a template that renders a raw string
///
[Obsolete("Microsoft.Teams.AI is deprecated and will be removed by end of summer 2026.")]
public class StringTemplate(string? source = null) : ITemplate
{
public Task Render(object? data = null, CancellationToken cancellationToken = default)
{
return Task.FromResult(source ?? string.Empty);
}
}