mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-15 06:33:48 +00:00
Let tools tailor what they offer to each request
This commit is contained in:
12 files changed
+452
-126
No files matched your search
@@ -2,7 +2,14 @@ using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Tools.ToolCallingSystem;
|
||||
|
||||
public sealed class ToolDefinition
|
||||
/// <summary>
|
||||
/// What a tool is: what the model may call, which settings it needs, and where it may be used.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A record, so that the registry can hand out a definition whose function a tool tailored to one
|
||||
/// request while everything else stays as registered, see IToolImplementation.ResolveFunctionAsync.
|
||||
/// </remarks>
|
||||
public sealed record ToolDefinition
|
||||
{
|
||||
public int SchemaVersion { get; init; } = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user