Share via


RunStepType Class

public final class RunStepType
extends ExpandableStringEnum<RunStepType>

The possible types of run steps.

Field Summary

Modifier and Type Field and Description
static final RunStepType MESSAGE_CREATION

Represents a run step to create a message.

static final RunStepType TOOL_CALLS

Represents a run step that calls tools.

Constructor Summary

Constructor Description
RunStepType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepType value.

Method Summary

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

Creates or finds a RunStepType from its string representation.

static Collection<RunStepType> values()

Gets known RunStepType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MESSAGE_CREATION

public static final RunStepType MESSAGE_CREATION

Represents a run step to create a message.

TOOL_CALLS

public static final RunStepType TOOL_CALLS

Represents a run step that calls tools.

Constructor Details

RunStepType

@Deprecated
public RunStepType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepType value.

Method Details

fromString

public static RunStepType fromString(String name)

Creates or finds a RunStepType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunStepType.

values

public static Collection<RunStepType> values()

Gets known RunStepType values.

Returns:

known RunStepType values.

Applies to