ภาษา

KnowledgeSourceCache Class

Definition

Configures storage for cached knowledge source enrichment results. Requires a GPv2 storage account with Blob and Table endpoints. The cache storage binding and identity cannot be changed after creation, and the cache cannot be removed while using the graph extraction workflow.

public class KnowledgeSourceCache : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceCache>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceCache>
type KnowledgeSourceCache = class
    interface IJsonModel<KnowledgeSourceCache>
    interface IPersistableModel<KnowledgeSourceCache>
Public Class KnowledgeSourceCache
Implements IJsonModel(Of KnowledgeSourceCache), IPersistableModel(Of KnowledgeSourceCache)
Inheritance
KnowledgeSourceCache
Implements

Constructors

Name Description
KnowledgeSourceCache(String)

Initializes a new instance of KnowledgeSourceCache.

Properties

Name Description
EnableReprocessing

Whether cached enrichment results can be reprocessed when the enrichment configuration changes. Must be true for graph extraction cache replay.

Identity

The managed identity used to connect to the enrichment cache. If omitted for a ResourceId connection string, the system-assigned managed identity is used. The identity cannot be changed after the cache is configured.

StorageConnectionString

The connection string to the storage account where cached enrichment results are persisted.

Methods

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

Explicit Interface Implementations

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

Applies to