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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET