DiscoveryModelFactory.DiscoveryEngine Method

Definition

Discovery engine instance.

public static Azure.AI.Discovery.DiscoveryEngine DiscoveryEngine(Azure.AI.Discovery.DiscoveryEngineStatus discoveryEngineStatus = default, string systemPrompt = default, System.Collections.Generic.IDictionary<string,BinaryData> configuration = default, DateTimeOffset? createdAt = default, string createdBy = default, Azure.AI.Discovery.DiscoveryActorType? createdByType = default, DateTimeOffset? lastModifiedAt = default, string lastModifiedBy = default, Azure.AI.Discovery.DiscoveryActorType? lastModifiedByType = default);
static member DiscoveryEngine : Azure.AI.Discovery.DiscoveryEngineStatus * string * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> -> Azure.AI.Discovery.DiscoveryEngine
Public Shared Function DiscoveryEngine (Optional discoveryEngineStatus As DiscoveryEngineStatus = Nothing, Optional systemPrompt As String = Nothing, Optional configuration As IDictionary(Of String, BinaryData) = Nothing, Optional createdAt As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional createdByType As Nullable(Of DiscoveryActorType) = Nothing, Optional lastModifiedAt As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional lastModifiedByType As Nullable(Of DiscoveryActorType) = Nothing) As DiscoveryEngine

Parameters

discoveryEngineStatus
DiscoveryEngineStatus

The Discovery Engine status.

systemPrompt
String

The system prompt.

configuration
IDictionary<String,BinaryData>

The Discovery Engine configuration.

createdAt
Nullable<DateTimeOffset>

The timestamp when the resource was created.

createdBy
String

The ID of the user who created this resource.

createdByType
Nullable<DiscoveryActorType>

The type of user who created this resource.

lastModifiedAt
Nullable<DateTimeOffset>

The timestamp when the resource was last updated.

lastModifiedBy
String

The ID of the user who updated this resource.

lastModifiedByType
Nullable<DiscoveryActorType>

The type of user who updated this resource.

Returns

A new DiscoveryEngine instance for mocking.

Applies to