Skip to content

Graduate XXX feature #13428

@a2425rdl

Description

@a2425rdl

--///


/// Example of auto function invocation filter which terminates function calling process as soon as we have the desired result.
///

public sealed class EarlyTerminationFilter : IAutoFunctionInvocationFilter
{
public async Task OnAutoFunctionInvocationAsync(AutoFunctionInvocationContext context, Func<AutoFunctionInvocationContext, Task> next)
{
// Call the function first.
await next(context);

    // Get a function result from context.
    var result = context.Result.GetValue<string>();

    // If the result meets the condition, terminate the process.
    // Otherwise, the function calling process will continue.
    if (result == "desired result")
    {
        context.Terminate = true;
    }
}

}
name: Feature graduation
about: Plan the graduation of an experimental feature


Checklist to be completed when graduating an experimental feature

  • Notify PM's and EM's that feature is ready for graduation
  • Contact PM for list of sample use cases
  • Verify there are sample implementations​ for each of the use cases
  • Verify telemetry and logging are complete
  • ​Verify API docs are complete and arrange to have them published
  • Make appropriate updates to Learn docs​
  • Make appropriate updates to Concept samples
  • Make appropriate updates to Blog posts
  • Verify there are no serious open Issues​​
  • Update table in EXPERIMENTS.md
  • Remove SKEXP​ flag from the experimental code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions