Skip to main content
All docs
V24.2

AIIntegration.CreateCustomPromptExtension(IAIExtensionsContainer, String) Method

Creates a new instance of the CustomPromptExtension class.

Namespace: DevExpress.AIIntegration

Assembly: DevExpress.AIIntegration.v24.2.dll

Declaration

public static IAIExtension<CustomPromptRequest, TextResponse> CreateCustomPromptExtension(
    this IAIExtensionsContainer container,
    string name = null
)

Parameters

Name Type Description
container IAIExtensionsContainer

A container that manages registered AI clients.

Optional Parameters

Name Type Default Description
name String null

The name of the extension.

Returns

Type Description
DevExpress.AIIntegration.IAIExtension<CustomPromptRequest, TextResponse>

A new instance of the CustomPromptExtension class.

See Also