Skip to main content
All docs
V25.2
  • AIChatResource(String, String, ReadOnlyMemory<Byte>, String, String) Constructor

    Initializes a new instance of the AIChatResource class with specified settings.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

    Assembly: DevExpress.AIIntegration.Blazor.Chat.v25.2.dll

    NuGet Package: DevExpress.AIIntegration.Blazor.Chat

    Declaration

    public AIChatResource(
        string uri,
        string name,
        ReadOnlyMemory<byte> data,
        string mimeType,
        string description = null
    )

    Parameters

    Name Type Description
    uri String

    The absolute or relative resource location.

    name String

    The resource name.

    data ReadOnlyMemory<Byte>

    Resource byte content stored as an immutable memory buffer.

    mimeType String

    The resource media type.

    Optional Parameters

    Name Type Default Description
    description String null

    The resource description.

    See Also