chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using Microsoft.SemanticKernel;
|
||||
|
||||
namespace OllamaFunctionCalling;
|
||||
|
||||
/// <summary>
|
||||
/// Simple plugin that just returns the time.
|
||||
/// </summary>
|
||||
public class MyTimePlugin
|
||||
{
|
||||
[KernelFunction, Description("Get the current time")]
|
||||
public DateTimeOffset Time() => DateTimeOffset.Now;
|
||||
}
|
||||
Reference in New Issue
Block a user