// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics; namespace Microsoft.Agents.AI; /// /// Provides metadata information about an instance. /// /// /// This class contains descriptive information about an agent that can be used for identification, /// telemetry, and logging purposes. /// [DebuggerDisplay("ProviderName = {ProviderName}")] public class AIAgentMetadata { /// /// Initializes a new instance of the class. /// /// /// The name of the agent provider, if applicable. Where possible, this should map to the /// appropriate name defined in the OpenTelemetry Semantic Conventions for Generative AI systems. /// public AIAgentMetadata(string? providerName = null) { this.ProviderName = providerName; } /// /// Gets the name of the agent provider. /// /// /// The provider name that identifies the underlying service or implementation powering the agent. /// /// /// Where possible, this maps to the appropriate name defined in the /// OpenTelemetry Semantic Conventions for Generative AI systems. /// public string? ProviderName { get; } }