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)
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,Microsoft.AspNetCore.Routing.RouteValueDictionary)
Parameters
actionName - System.String
controllerName - System.String
routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary
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.