Files
AI-Studio/app/MindWork AI Studio/Provider/OpenAI/ChatCompletionFunctionTool.cs
T

11 lines
357 B
C#

namespace AIStudio.Provider.OpenAI;
/// <summary>
/// The function tool definition shape expected by Chat Completions compatible APIs, with the function nested.
/// </summary>
public sealed record ChatCompletionFunctionTool
{
public string Type { get; set; } = "function";
public ChatCompletionFunctionDeclaration Function { get; set; } = new();
}