FeedbackRouteBuilderBase<TBuilder> Class

Definition

Provides the generic base builder for routing feedback loop invoke activities in an AgentApplication.

public abstract class FeedbackRouteBuilderBase<TBuilder> : Microsoft.Agents.Builder.App.RouteBuilderBase<TBuilder> where TBuilder : FeedbackRouteBuilderBase<TBuilder>
type FeedbackRouteBuilderBase<'Builder (requires 'Builder :> FeedbackRouteBuilderBase<'Builder>)> = class
    inherit RouteBuilderBase<'Builder (requires 'Builder :> FeedbackRouteBuilderBase<'Builder>)>
Public MustInherit Class FeedbackRouteBuilderBase(Of TBuilder)
Inherits RouteBuilderBase(Of TBuilder)

Type Parameters

TBuilder

The concrete builder type returned from fluent members.

Inheritance
FeedbackRouteBuilderBase<TBuilder>
Derived

Remarks

Derive from FeedbackRouteBuilderBase<TBuilder> to create specialized feedback route builders while preserving fluent chaining on the concrete builder type. Routes built from this base match invoke activities named message/submitAction whose actionName is feedback.

Constructors

Name Description
FeedbackRouteBuilderBase<TBuilder>()

Fields

Name Description
_route (Inherited from RouteBuilderBase<TBuilder>)

Methods

Name Description
AsAgentic(Boolean)

Configures the route to operate in agentic mode, enabling behaviors associated with agentic processing.

(Inherited from RouteBuilderBase<TBuilder>)
AsInvoke(Boolean)

Returns the current builder instance.

AsNonTerminal()

Marks the current route as non-terminal and returns the updated builder instance.

(Inherited from RouteBuilderBase<TBuilder>)
Build()

Builds and returns the configured route instance after validating required components.

(Inherited from RouteBuilderBase<TBuilder>)
PreBuild() (Inherited from RouteBuilderBase<TBuilder>)
WithChannelId(ChannelId)

Sets the channel identifier for the route and returns the builder instance for method chaining.

(Inherited from RouteBuilderBase<TBuilder>)
WithHandlerCore(FeedbackLoopHandler)

Configures the route to handle feedback loop submissions using the specified handler.

WithOAuthHandlers(Func<ITurnContext,String[]>)

Configures OAuth handler functions for the route using the specified delegate.

(Inherited from RouteBuilderBase<TBuilder>)
WithOAuthHandlers(String)

Configures the builder to use one or more OAuth authentication handlers specified in a delimited string.

(Inherited from RouteBuilderBase<TBuilder>)
WithOAuthHandlers(String[])

Configures the route to use the specified OAuth authentication handlers.

(Inherited from RouteBuilderBase<TBuilder>)
WithOrderRank(UInt16)

Sets the order rank for the route and returns the current builder instance for further configuration.

(Inherited from RouteBuilderBase<TBuilder>)
WithSelector(RouteSelector)

Sets the route selector used to determine how incoming requests are matched to this route builder.

(Inherited from RouteBuilderBase<TBuilder>)

Applies to