Interface AI Service Name

App
System Application
Namespace
System.AI
Versions
26-28

Procedures, 2

Versions171819202122232425262728

Source26272829

Source in 29

src/System Application/App/AI/src/Copilot/Interfaces/AIServiceName.Interface.al25 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.AI;

/// <summary>
/// Interface for providing naming information for a given AI service.
/// </summary>
interface "AI Service Name"
{

    /// <summary>
    /// Get the name of the service.
    /// </summary>
    /// <returns>The name of the service.</returns>
    procedure GetServiceName(): Text[250];

    /// <summary>
    /// Get the id of the service. Will often be the service name in Code form.
    /// </summary>
    /// <returns>The id of the service.</returns>
    procedure GetServiceId(): Code[50];

}