Skip to content

The doc page "Chaining functions together" needs some cleanup #55

Open
@sramaswami11

Description

@sramaswami11

Please refer to the following url:
https://learn.microsoft.com/en-us/semantic-kernel/ai-orchestration/plugins/chaining-functions?tabs=Csharp
The code block right underneath the section "Using the RunAsync method to chain our functions" is confusing and redundant.
Redundant since the whole code block is repeated below under the section "Creating a semantic function that uses the new context variables" (and more complete there creating an saving off new context with the original _context).
Confusing since it has the line of code that tries to get the function "CreateResponse" which has not yet been created. Someone following this code will run into an error. So this whole block of code section needs to be removed. Or this code block can clarify that the CreateResponse function will be created later on this page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions