Share via


VectorStoreFileBatchStatus Class

public final class VectorStoreFileBatchStatus
extends ExpandableStringEnum<VectorStoreFileBatchStatus>

The status of the vector store file batch.

Field Summary

Modifier and Type Field and Description
static final VectorStoreFileBatchStatus CANCELLED

The vector store file batch was cancelled.

static final VectorStoreFileBatchStatus COMPLETED

the vector store file batch is ready for use.

static final VectorStoreFileBatchStatus FAILED

The vector store file batch failed to process.

static final VectorStoreFileBatchStatus IN_PROGRESS

The vector store is still processing this file batch.

Constructor Summary

Constructor Description
VectorStoreFileBatchStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VectorStoreFileBatchStatus value.

Method Summary

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

Creates or finds a VectorStoreFileBatchStatus from its string representation.

static Collection<VectorStoreFileBatchStatus> values()

Gets known VectorStoreFileBatchStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELLED

public static final VectorStoreFileBatchStatus CANCELLED

The vector store file batch was cancelled.

COMPLETED

public static final VectorStoreFileBatchStatus COMPLETED

the vector store file batch is ready for use.

FAILED

public static final VectorStoreFileBatchStatus FAILED

The vector store file batch failed to process.

IN_PROGRESS

public static final VectorStoreFileBatchStatus IN_PROGRESS

The vector store is still processing this file batch.

Constructor Details

VectorStoreFileBatchStatus

@Deprecated
public VectorStoreFileBatchStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VectorStoreFileBatchStatus value.

Method Details

fromString

public static VectorStoreFileBatchStatus fromString(String name)

Creates or finds a VectorStoreFileBatchStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VectorStoreFileBatchStatus.

values

public static Collection<VectorStoreFileBatchStatus> values()

Gets known VectorStoreFileBatchStatus values.

Returns:

known VectorStoreFileBatchStatus values.

Applies to