共用方式為


AnswersFromTextOptions Class

Definition

The question and text record parameters to answer.

public class AnswersFromTextOptions
type AnswersFromTextOptions = class
Public Class AnswersFromTextOptions
Inheritance
AnswersFromTextOptions

Constructors

AnswersFromTextOptions(String, IEnumerable<TextDocument>)

Initializes a new instance of AnswersFromTextOptions.

Properties

Language

The language of the text documents. This is the BCP-47 representation of a language. For example, use "en" for English, "es" for Spanish, etc. If not set, uses DefaultLanguage as the default, which uses "en" for English. See https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/language-support for list of currently supported languages.

Question

User question to query against the given text documents.

TextDocuments

Text documents to be searched for given question.

Applies to