Share via


InvocationReturnMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.semantickernel.orchestration.InvocationReturnMode

public enum InvocationReturnMode
extends java.lang.Enum<InvocationReturnMode>

Represents the mode in which a function invocation should return its results.

Fields

FULL_HISTORY

Function invocations that build upon a history of previous invocations, such as Chat Completions, will return the full history of messages.

LAST_MESSAGE_ONLY

Function invocations that build upon a history of previous invocations, such as Chat Completions, will return only the last message generated by the given invocation.

NEW_MESSAGES_ONLY

Function invocations that build upon a history of previous invocations, such as Chat Completions, will return only new messages generated by the given invocation.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static InvocationReturnMode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static InvocationReturnMode[] values()

Returns

Applies to