AIPromptServiceSettingsBuilder

Properties

ViewContext - ViewContext

Methods

Url(System.String)

The Url of the AI service to use for generating outputs.

Parameters

value - System.String

The value that configures the url.

OutputGetter(System.Func)

The function to get the output from the AI service response.

Parameters

handler - System.Func<Object,Object>

The value that configures the outputgetter action.

OutputGetter(System.String)

The function to get the output from the AI service response.

Parameters

handler - System.String

The value that configures the outputgetter action.

Url(System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String

Url(System.String,System.String,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object

Url(System.String,System.String,System.Web.Routing.RouteValueDictionary)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Web.Routing.RouteValueDictionary

Data(System.Func)

The handler that provides additional parameters sent to the service request.

Parameters

handler - System.Func<Object,Object>

Data(System.String)

The handler that provides additional parameters sent to the service request.

Parameters

handler - System.String

Headers(System.Object)

The headers to send with the AI service request.

Parameters

value - System.Object

The value that configures the headers.

Data(System.Object)

The data to send with the AI service request.

Parameters

value - System.Object

The value that configures the data.