AzureChatExtensionRetrieveDocumentFilterReason Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.ai.openai.models.AzureChatExtensionRetrieveDocumentFilterReason

public enum AzureChatExtensionRetrieveDocumentFilterReason
extends Enum<AzureChatExtensionRetrieveDocumentFilterReason>

The reason for filtering the retrieved document.

Fields

RERANK

The document is not filtered by original search score threshold, but is filtered by rerank score and `top_n_documents` configure.

SCORE

The document is filtered by original search score threshold defined by `strictness` configure.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static AzureChatExtensionRetrieveDocumentFilterReason fromString(String value)

Parses a serialized value to a AzureChatExtensionRetrieveDocumentFilterReason instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed AzureChatExtensionRetrieveDocumentFilterReason object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static AzureChatExtensionRetrieveDocumentFilterReason valueOf(String name)

Parameters

name
String

Returns

values()

public static AzureChatExtensionRetrieveDocumentFilterReason[] values()

Returns

Applies to