mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 22:07:21 +00:00
11 lines
357 B
C#
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();
|
||
|
|
}
|