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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET