AIPromptServiceSettingsBuilder

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 action name.

controllerName - System.String

The controller name.

RETURNS

Returns the current AIPromptServiceSettingsBuilder instance.

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

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

Parameters

actionName - System.String

The action name.

controllerName - System.String

The controller name.

routeValues - System.Object

The route values.

RETURNS

Returns the current AIPromptServiceSettingsBuilder 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 action name.

controllerName - System.String

The controller name.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values.

RETURNS

Returns the current AIPromptServiceSettingsBuilder 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 AIPromptServiceSettingsBuilder 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 AIPromptServiceSettingsBuilder 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 AIPromptServiceSettingsBuilder instance.