From 3ef59b95e76ce5a4fa2662d715a19d77180f4e66 Mon Sep 17 00:00:00 2001 From: Robin <8776314+SemtexError@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:35:05 +0200 Subject: [PATCH] Update plugins/index.md --- semantic-kernel/concepts/plugins/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic-kernel/concepts/plugins/index.md b/semantic-kernel/concepts/plugins/index.md index d3425adb..fa4ab71b 100644 --- a/semantic-kernel/concepts/plugins/index.md +++ b/semantic-kernel/concepts/plugins/index.md @@ -103,7 +103,7 @@ public class LightsPlugin [Description("Gets a list of lights and their current state")] public async Task> GetLightsAsync() { - return lights + return lights; } [KernelFunction("get_state")] @@ -437,4 +437,4 @@ By storing data locally, you can keep the information private and secure while a Use one of the techniques described in the [Providing functions return type schema to LLM](./adding-native-plugins.md#provide-function-return-type-information-in-function-description) section to provide the function's return type schema to the AI model. By utilizing a well-defined return type schema, the AI model can accurately identify the intended properties, eliminating potential inaccuracies that may arise when the model makes assumptions based on incomplete or ambiguous information in the absence of the schema. -Consequently, this enhances the accuracy of function calls, leading to more reliable and precise outcomes. \ No newline at end of file +Consequently, this enhances the accuracy of function calls, leading to more reliable and precise outcomes.