AI-Studio/app/MindWork AI Studio/Provider/OpenAI/ProviderTool.cs

13 lines
468 B
C#

namespace AIStudio.Provider.OpenAI;
/// <summary>
/// Represents a tool executed on the provider side.
/// </summary>
/// <remarks>
/// Right now, only our OpenAI provider is using tools. Thus, this class is located in the
/// OpenAI namespace. In the future, when other providers also support tools, this class can
/// be moved into the provider namespace.
/// </remarks>
/// <param name="Type">The type of the tool.</param>
public record ProviderTool(string Type);