Class OpenAiCompletionChoice
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiCompletionChoice
- Direct Known Subclasses:
OpenAiChatCompletionChoice,OpenAiDeltaChatCompletionChoice
Deprecated.
Result for OpenAI chat completion output.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.Deprecated.Information about the content filtering category, if it has been detected, as well as the severity level and if it has been filtered or not.Deprecated.Reason for finish.getIndex()Deprecated.Index of choice.inthashCode()Deprecated.toString()Deprecated.
-
Constructor Details
-
OpenAiCompletionChoice
public OpenAiCompletionChoice()Deprecated.
-
-
Method Details
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
getFinishReason
Deprecated.Reason for finish. The possible values are:stop: API returned complete message, or a message terminated by one of the stop sequences provided via the stop parameterlength: Incomplete model output due to max_tokens parameter or token limitfunction_call: The model decided to call a functioncontent_filter: Omitted content due to a flag from our content filtersnull: API response still in progress or incomplete -
getIndex
Deprecated.Index of choice. -
getContentFilterResults
Deprecated.Information about the content filtering category, if it has been detected, as well as the severity level and if it has been filtered or not.
-