KnowledgeSourceContentExtractionMode Class

public final class KnowledgeSourceContentExtractionMode
extends ExpandableStringEnum<KnowledgeSourceContentExtractionMode>

Optional content extraction mode. Default is 'minimal'.

Field Summary

Modifier and Type Field and Description
static final KnowledgeSourceContentExtractionMode MINIMAL

Extracts only essential metadata while deferring most content processing.

static final KnowledgeSourceContentExtractionMode STANDARD

Performs the full default content extraction pipeline.

Constructor Summary

Constructor Description
KnowledgeSourceContentExtractionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeSourceContentExtractionMode value.

Method Summary

Modifier and Type Method and Description
static KnowledgeSourceContentExtractionMode fromString(String name)

Creates or finds a KnowledgeSourceContentExtractionMode from its string representation.

static Collection<KnowledgeSourceContentExtractionMode> values()

Gets known KnowledgeSourceContentExtractionMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MINIMAL

public static final KnowledgeSourceContentExtractionMode MINIMAL

Extracts only essential metadata while deferring most content processing.

STANDARD

public static final KnowledgeSourceContentExtractionMode STANDARD

Performs the full default content extraction pipeline.

Constructor Details

KnowledgeSourceContentExtractionMode

@Deprecated
public KnowledgeSourceContentExtractionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeSourceContentExtractionMode value.

Method Details

fromString

public static KnowledgeSourceContentExtractionMode fromString(String name)

Creates or finds a KnowledgeSourceContentExtractionMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KnowledgeSourceContentExtractionMode.

values

public static Collection<KnowledgeSourceContentExtractionMode> values()

Gets known KnowledgeSourceContentExtractionMode values.

Returns:

known KnowledgeSourceContentExtractionMode values.

Applies to