Поделиться через


SearchConfiguration Class

Definition

A custom search configuration.

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

Constructors

SearchConfiguration(String, String)

Initializes a new instance of SearchConfiguration.

Properties

ConnectionId

A connection in a ToolConnectionList attached to this tool.

InstanceName

Name of the custom configuration instance given to config.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SearchConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to