Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugins/index.md #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions semantic-kernel/concepts/plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class LightsPlugin
[Description("Gets a list of lights and their current state")]
public async Task<List<LightModel>> GetLightsAsync()
{
return lights
return lights;
}

[KernelFunction("get_state")]
Expand Down Expand Up @@ -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.
Consequently, this enhances the accuracy of function calls, leading to more reliable and precise outcomes.