diff --git a/dotnet/src/IntegrationTests/IntegrationTests.csproj b/dotnet/src/IntegrationTests/IntegrationTests.csproj
index 33fc598081bc..a86e60cf1cb9 100644
--- a/dotnet/src/IntegrationTests/IntegrationTests.csproj
+++ b/dotnet/src/IntegrationTests/IntegrationTests.csproj
@@ -22,6 +22,8 @@
+
+
@@ -89,4 +91,13 @@
Always
+
+
+
+ Always
+
+
+ Always
+
+
\ No newline at end of file
diff --git a/dotnet/src/IntegrationTests/Plugins/SamplePluginsTests.cs b/dotnet/src/IntegrationTests/Plugins/SamplePluginsTests.cs
index a37eb8c901b5..17cf17e4c93e 100644
--- a/dotnet/src/IntegrationTests/Plugins/SamplePluginsTests.cs
+++ b/dotnet/src/IntegrationTests/Plugins/SamplePluginsTests.cs
@@ -42,7 +42,7 @@ public void CanLoadSampleSkillsCompletions()
Assert.NotNull(kernel.Plugins);
var metadata = kernel.Plugins.GetFunctionsMetadata();
Assert.NotNull(metadata);
- Assert.Equal(48, metadata.Count); // currently we have 48 sample plugin functions
+ Assert.Single(metadata);
metadata.ToList().ForEach(function =>
{
Assert.NotNull(kernel.Plugins.GetFunction(function.PluginName, function.Name));
diff --git a/dotnet/src/IntegrationTests/TestHelpers.cs b/dotnet/src/IntegrationTests/TestHelpers.cs
index bd082877f1b7..aa2497b9d5a2 100644
--- a/dotnet/src/IntegrationTests/TestHelpers.cs
+++ b/dotnet/src/IntegrationTests/TestHelpers.cs
@@ -28,18 +28,7 @@ internal static void ImportAllSamplePlugins(Kernel kernel)
internal static void ImportAllSampleSkills(Kernel kernel)
{
- ImportSamplePromptFunctions(kernel, "../../../../../../samples/skills",
- "ChatSkill",
- "SummarizeSkill",
- "WriterSkill",
- "CalendarSkill",
- "ChildrensBookSkill",
- "ClassificationSkill",
- "CodingSkill",
- "FunSkill",
- "IntentDetectionSkill",
- "MiscSkill",
- "QASkill");
+ ImportSamplePromptFunctions(kernel, "./skills", "FunSkill");
}
internal static IReadOnlyKernelPluginCollection ImportSamplePlugins(Kernel kernel, params string[] pluginNames)
diff --git a/dotnet/src/IntegrationTests/skills/FunSkill/Joke/config.json b/dotnet/src/IntegrationTests/skills/FunSkill/Joke/config.json
new file mode 100644
index 000000000000..5ec9e5fe44ff
--- /dev/null
+++ b/dotnet/src/IntegrationTests/skills/FunSkill/Joke/config.json
@@ -0,0 +1,26 @@
+{
+ "schema": 1,
+ "description": "Generate a funny joke",
+ "type": "completion",
+ "completion": {
+ "max_tokens": 1000,
+ "temperature": 0.9,
+ "top_p": 0.0,
+ "presence_penalty": 0.0,
+ "frequency_penalty": 0.0
+ },
+ "input": {
+ "parameters": [
+ {
+ "name": "input",
+ "description": "Joke subject",
+ "defaultValue": ""
+ },
+ {
+ "name": "style",
+ "description": "Give a hint about the desired joke style",
+ "defaultValue": ""
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/dotnet/src/IntegrationTests/skills/FunSkill/Joke/skprompt.txt b/dotnet/src/IntegrationTests/skills/FunSkill/Joke/skprompt.txt
new file mode 100644
index 000000000000..784e2148a331
--- /dev/null
+++ b/dotnet/src/IntegrationTests/skills/FunSkill/Joke/skprompt.txt
@@ -0,0 +1,13 @@
+WRITE EXACTLY ONE JOKE or HUMOROUS STORY ABOUT THE TOPIC BELOW
+
+JOKE MUST BE:
+- G RATED
+- WORKPLACE/FAMILY SAFE
+NO SEXISM, RACISM OR OTHER BIAS/BIGOTRY
+
+BE CREATIVE AND FUNNY. I WANT TO LAUGH.
+Incorporate the style suggestion, if provided: {{$style}}
++++++
+
+{{$input}}
++++++