Dela via


QueryCaption Class

Definition

Configuration for how semantic search captions search results.

public class QueryCaption
type QueryCaption = class
Public Class QueryCaption
Inheritance
QueryCaption

Constructors

QueryCaption(QueryCaptionType)

Initializes a new instance of the QueryCaption class.

Properties

CaptionType

A value that specifies whether Captions should be returned as part of the search response.

The default value is None.

HighlightEnabled

If CaptionType is set to Extractive, setting this to true enables highlighting of the returned captions. It populates Highlights.

The default value is true.

MaxCharLength

A value that specifies the maximum character length for captions returned as part of the search response. Optional and defaults to null.

Applies to