KnowledgeSourceReference Class

Definition

Reference to a knowledge source.

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

Constructors

Name Description
KnowledgeSourceReference(String)

Initializes a new instance of KnowledgeSourceReference.

Properties

Name Description
EnableFreshness

Indicates whether freshness-aware retrieval should be enabled for this knowledge source. When true, a freshness scoring profile is applied during retrieval to bias results toward newer documents.

EnableImageServing

Indicates whether image serving should be enabled for this knowledge source. When true, images extracted during ingestion are delivered to downstream models at query time.

Name

The name of the knowledge source.

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<KnowledgeSourceReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KnowledgeSourceReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeSourceReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeSourceReference>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KnowledgeSourceReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to