SemanticRerankingInferenceContent Class
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.
The input for a semantic reranking operation.
public class SemanticRerankingInferenceContent : System.ClientModel.Primitives.IJsonModel<Azure.Data.AI.SemanticRerankingInferenceContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Data.AI.SemanticRerankingInferenceContent>
type SemanticRerankingInferenceContent = class
interface IJsonModel<SemanticRerankingInferenceContent>
interface IPersistableModel<SemanticRerankingInferenceContent>
Public Class SemanticRerankingInferenceContent
Implements IJsonModel(Of SemanticRerankingInferenceContent), IPersistableModel(Of SemanticRerankingInferenceContent)
- Inheritance
-
SemanticRerankingInferenceContent
- Implements
Constructors
| Name | Description |
|---|---|
| SemanticRerankingInferenceContent(String, IEnumerable<String>) |
Initializes a new instance of SemanticRerankingInferenceContent. |
Properties
| Name | Description |
|---|---|
| BatchSize |
The number of documents processed in each batch. |
| Documents |
The documents to rank against the query. |
| DocumentType |
The format of the submitted documents. |
| Model |
The name of the model used for the semantic reranking operation. |
| Query |
The query used to rank the documents. |
| ReturnDocuments |
Whether the response should include the submitted documents. |
| ReturnSentenceScore |
Whether to return sentence-level scores in the response. |
| Sort |
Whether to return documents sorted by relevance score. |
| TargetPaths |
The property containing text to rank when the document type is JSON.
This property is required for JSON documents. Use dot notation for a nested property, for example |
| TopK |
The maximum number of ranked documents to return. |
Methods
Operators
| Name | Description |
|---|---|
| Implicit(SemanticRerankingInferenceContent to RequestContent) | |