GridAiServiceSettingsBuilder

Methods

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

Data(System.Object)

The parameters sent to the service request.

Parameters

data - System.Object

Headers(System.Object)

The headers of the service request.

Parameters

headers - System.Object

Url(System.String,System.String)

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

Parameters

actionName - System.String

The name of the action method.

controllerName - System.String

The name of the controller.

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.

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

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

Parameters

actionName - System.String

The name of the action method.

controllerName - System.String

The name of the controller.

routeValues - System.Object

The route values for the URL.

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.

Url(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

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

Parameters

actionName - System.String

The name of the action method.

controllerName - System.String

The name of the controller.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values for the URL.

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.

Url(System.String)

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

Parameters

value - System.String

The value for Url

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.

OutputGetter(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.

OutputGetter(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current GridAiServiceSettingsBuilder instance.