AnswersFromTextOptions(String, IEnumerable<TextDocument>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AnswersFromTextOptions.
public AnswersFromTextOptions (string question, System.Collections.Generic.IEnumerable<Azure.AI.Language.QuestionAnswering.TextDocument> textDocuments);
new Azure.AI.Language.QuestionAnswering.AnswersFromTextOptions : string * seq<Azure.AI.Language.QuestionAnswering.TextDocument> -> Azure.AI.Language.QuestionAnswering.AnswersFromTextOptions
Public Sub New (question As String, textDocuments As IEnumerable(Of TextDocument))
Parameters
- question
- String
User question to query against the given text documents.
- textDocuments
- IEnumerable<TextDocument>
Text documents to be searched for given question.
Exceptions
question
or textDocuments
is null.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET