chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using Microsoft.SemanticKernel.Plugins.Core;
|
||||
|
||||
namespace Functions;
|
||||
|
||||
public class MethodFunctions(ITestOutputHelper output) : BaseTest(output)
|
||||
{
|
||||
[Fact]
|
||||
public Task RunAsync()
|
||||
{
|
||||
Console.WriteLine("======== Functions ========");
|
||||
|
||||
// Load native plugin
|
||||
var text = new TextPlugin();
|
||||
|
||||
// Use function without kernel
|
||||
var result = text.Uppercase("ciao!");
|
||||
|
||||
Console.WriteLine(result);
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user