Skip to content

.Net: Semantic Kernel GetFunction().Describe().Parameters doesn't return parameters always #3583

@sanket-t-shah

Description

@sanket-t-shah

Describe the bug
We've a need to pass parameters to Semantic Function based on chat conversation flow. For doing the same, we are trying to get list of parameters through code _Kernel.Functions.GetFunction("PluginName", "FunctionName").Describe().Parameters. This list is not returned consistently (~80%).

To Reproduce
Steps to reproduce the behavior:

  1. Get Plugin Name and Function Name through GetOpenAIFunctionResponse() function.
  2. Try to get Function Parameters using _Kernel.Functions.GetFunction("PluginName", "FunctionName").Describe().Parameters.
  3. Check value of Parameters.

Expected behavior
Semantic Function Parameters should be returned consistently.

Platform
Semantic Kernel: 1.0.0-beta8 (.NET)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Sprint: Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions