Skip to main content
All docs
V25.2
  • AIChatResource Constructors

    Defines a user-selectable context for a chat session.
    Name Parameters Description
    AIChatResource(String, String, AIChatResource.AIContentProvider, String, String) uri, name, aiContentProvider, mimeType, description Initializes a new instance of the AIChatResource class with specified settings.
    AIChatResource(String, String, Func<AIChatResource, CancellationToken, Task<ReadOnlyMemory<Byte>>>, String, String) uri, name, binaryDataProvider, mimeType, description Initializes a new instance of the AIChatResource class with specified settings.
    AIChatResource(String, String, Func<AIChatResource, CancellationToken, Task<String>>, String, String) uri, name, textContentProvider, mimeType, description Initializes a new instance of the AIChatResource class with specified settings.
    AIChatResource(String, String, ReadOnlyMemory<Byte>, String, String) uri, name, data, mimeType, description Initializes a new instance of the AIChatResource class with specified settings.
    AIChatResource(String, String, String, String, String) uri, name, text, mimeType, description Initializes a new instance of the AIChatResource class with specified settings.
    See Also