mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
e877ffbca1
* Move external MEAI classes to releaseable packages * Update dotnet/src/Microsoft.Extensions.AI.Agents.Abstractions/MEAI/NewHostedFileSearchTool.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/src/Microsoft.Extensions.AI.Agents.Abstractions/MEAI/NewHostedCodeInterpreterTool.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dotnet/src/Microsoft.Extensions.AI.Agents.AzureAI/NewPersistentAgentsChatClient.cs Co-authored-by: westey <164392973+westey-m@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
21 lines
1010 B
C#
21 lines
1010 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
namespace Microsoft.Extensions.AI;
|
|
|
|
/// <summary>
|
|
/// Proposal for abstraction updates based on the common code interpreter tool properties.
|
|
/// Based on the decision, the <see cref="HostedCodeInterpreterTool"/> abstraction can be updated in M.E.AI directly.
|
|
/// </summary>
|
|
public class NewHostedCodeInterpreterTool : HostedCodeInterpreterTool
|
|
{
|
|
/// <summary>Gets or sets a collection of <see cref="AIContent"/> to be used as input to the code interpreter tool.</summary>
|
|
/// <remarks>
|
|
/// Services support different varied kinds of inputs. Most support the IDs of files that are hosted by the service,
|
|
/// represented via <see cref="HostedFileContent"/>. Some also support binary data, represented via <see cref="DataContent"/>.
|
|
/// Unsupported inputs will be ignored by the <see cref="IChatClient"/> to which the tool is passed.
|
|
/// </remarks>
|
|
public IList<AIContent>? Inputs { get; set; }
|
|
}
|