-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
feature_graduationApplied to all feature graduation issuesApplied to all feature graduation issuestriage
Description
--///
/// 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
Copilot
Metadata
Metadata
Assignees
Labels
feature_graduationApplied to all feature graduation issuesApplied to all feature graduation issuestriage