Udostępnij za pośrednictwem


QuestionAnsweringConfig Class

Definition

This is a set of request parameters for Question Answering knowledge bases.

public class QuestionAnsweringConfig : Azure.AI.Language.Conversations.Models.AnalysisConfig, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.QuestionAnsweringConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.QuestionAnsweringConfig>
type QuestionAnsweringConfig = class
    inherit AnalysisConfig
    interface IJsonModel<QuestionAnsweringConfig>
    interface IPersistableModel<QuestionAnsweringConfig>
Public Class QuestionAnsweringConfig
Inherits AnalysisConfig
Implements IJsonModel(Of QuestionAnsweringConfig), IPersistableModel(Of QuestionAnsweringConfig)
Inheritance
QuestionAnsweringConfig
Implements

Constructors

QuestionAnsweringConfig()

Initializes a new instance of QuestionAnsweringConfig.

Properties

ApiVersion

The API version to use when call a specific target service.

(Inherited from AnalysisConfig)
CallingOptions

The options sent to a Question Answering KB.

Explicit Interface Implementations

IJsonModel<AnalysisConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from AnalysisConfig)
IJsonModel<AnalysisConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AnalysisConfig)
IJsonModel<QuestionAnsweringConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QuestionAnsweringConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AnalysisConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AnalysisConfig)
IPersistableModel<AnalysisConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from AnalysisConfig)
IPersistableModel<AnalysisConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AnalysisConfig)
IPersistableModel<QuestionAnsweringConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QuestionAnsweringConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QuestionAnsweringConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to