chore: import upstream snapshot with attribution
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:21:23 +08:00
commit b957a53def
5423 changed files with 863745 additions and 0 deletions
@@ -0,0 +1,13 @@
{
"schema": 1,
"description": "Test Description",
"execution_settings": {
"default": {
"max_tokens": 123,
"temperature": 0.0,
"top_p": 1.0,
"presence_penalty": 0.0,
"frequency_penalty": 2.0
}
}
}
@@ -0,0 +1,5 @@
{{$input}}
==
Test prompt.
==
@@ -0,0 +1,26 @@
# Copyright (c) Microsoft. All rights reserved.
from typing import Annotated
from semantic_kernel.functions.kernel_function_decorator import kernel_function
class TestNativeEchoBotPlugin:
"""Description: Test Native Plugin for testing purposes"""
@kernel_function(
description="Echo for input text",
name="echoAsync",
)
async def echo(self, text: Annotated[str, "The text to echo"]) -> str:
"""Echo for input text
Example:
"hello world" => "hello world"
Args:
text -- The text to echo
Returns:
input text
"""
return text
@@ -0,0 +1,12 @@
name: TestFunctionYaml
template_format: semantic-kernel
template: |
{{$input}}
description: A test function from a yaml file.
execution_settings:
default:
temperature: 0.6
max_tokens: 123
top_p: 1.0
presence_penalty: 0.0
frequency_penalty: 2.0