chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
from semantic_kernel.functions.kernel_function_decorator import kernel_function
|
||||
|
||||
|
||||
# TODO: this fake plugin is temporal usage.
|
||||
# C# supports import plugin from samples dir by using test helper and python should do the same
|
||||
# `semantic-kernel/dotnet/src/IntegrationTests/TestHelpers.cs`
|
||||
class FunPluginFake:
|
||||
@kernel_function(
|
||||
description="Write a joke",
|
||||
name="WriteJoke",
|
||||
)
|
||||
def write_joke(self) -> str:
|
||||
return "WriteJoke"
|
||||
Reference in New Issue
Block a user