SemanticRerankingInferenceContent(String, IEnumerable<String>) 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 SemanticRerankingInferenceContent.
public SemanticRerankingInferenceContent(string query, System.Collections.Generic.IEnumerable<string> documents);
new Azure.Data.AI.SemanticRerankingInferenceContent : string * seq<string> -> Azure.Data.AI.SemanticRerankingInferenceContent
Public Sub New (query As String, documents As IEnumerable(Of String))
Parameters
- query
- String
The query used to rank the documents.
- documents
- IEnumerable<String>
The documents to rank against the query.
Exceptions
query or documents is null.