DiscoveryEngine Class

Definition

Discovery engine instance.

public class DiscoveryEngine : System.ClientModel.Primitives.IJsonModel<Azure.AI.Discovery.DiscoveryEngine>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Discovery.DiscoveryEngine>
type DiscoveryEngine = class
    interface IJsonModel<DiscoveryEngine>
    interface IPersistableModel<DiscoveryEngine>
Public Class DiscoveryEngine
Implements IJsonModel(Of DiscoveryEngine), IPersistableModel(Of DiscoveryEngine)
Inheritance
DiscoveryEngine
Implements

Properties

Name Description
Configuration

The Discovery Engine configuration.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

CreatedAt

The timestamp when the resource was created.

CreatedBy

The ID of the user who created this resource.

CreatedByType

The type of user who created this resource.

DiscoveryEngineStatus

The Discovery Engine status.

LastModifiedAt

The timestamp when the resource was last updated.

LastModifiedBy

The ID of the user who updated this resource.

LastModifiedByType

The type of user who updated this resource.

SystemPrompt

The system prompt.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(Response to DiscoveryEngine)

Explicit Interface Implementations

Name Description
IJsonModel<DiscoveryEngine>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DiscoveryEngine>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DiscoveryEngine>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DiscoveryEngine>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DiscoveryEngine>.Write(ModelReaderWriterOptions)

Applies to