Package com.sap.ai.sdk.foundationmodels.openai.generated.model
package com.sap.ai.sdk.foundationmodels.openai.generated.model
-
ClassDescriptionDeprecated and replaced by `tool_calls`.Specifying a particular function via `{\"name\": \"my_function\"}` forces the model to call that function.Deprecated.ChatCompletionMessageToolCallChatCompletionMessageToolCallChunkThe type of the tool.ChatCompletionMessageToolCallChunkFunctionThe function that the model called.Specifies a tool the model should use.The type of the tool.ChatCompletionNamedToolChoiceFunctionChatCompletionRequestAssistantMessageThe role of the messages author, in this case `assistant`.The contents of the assistant message.Helper class to create
Stringthat implementsChatCompletionRequestAssistantMessageContent.ChatCompletionRequestAssistantMessageContent.ListOfChatCompletionRequestAssistantMessageContentPartsHelper class to createList<ChatCompletionRequestAssistantMessageContentPart>that implementsChatCompletionRequestAssistantMessageContent.ChatCompletionRequestAssistantMessageContentPartDeprecated.Deprecated.The role of the messages author, in this case `function`.ChatCompletionRequestMessageChatCompletionRequestMessageContentPartImageThe type of the content part.ChatCompletionRequestMessageContentPartImageImageUrlSpecifies the detail level of the image.ChatCompletionRequestMessageContentPartRefusalThe type of the content part.ChatCompletionRequestMessageContentPartTextThe type of the content part.ChatCompletionRequestSystemMessageThe role of the messages author, in this case `system`.The contents of the system message.Helper class to createStringthat implementsChatCompletionRequestSystemMessageContent.Helper class to createList<ChatCompletionRequestMessageContentPartText>that implementsChatCompletionRequestSystemMessageContent.ChatCompletionRequestToolMessageThe role of the messages author, in this case `tool`.The contents of the tool message.Helper class to createStringthat implementsChatCompletionRequestToolMessageContent.Helper class to createList<ChatCompletionRequestMessageContentPartText>that implementsChatCompletionRequestToolMessageContent.ChatCompletionRequestUserMessageThe role of the messages author, in this case `user`.The contents of the user message.Helper class to createStringthat implementsChatCompletionRequestUserMessageContent.Helper class to createList<ChatCompletionRequestUserMessageContentPart>that implementsChatCompletionRequestUserMessageContent.ChatCompletionRequestUserMessageContentPartA chat completion message generated by the model.The role of the author of the response message.ChatCompletionsCreate200ResponseChatCompletionsRequestCommonUp to 4 sequences where the API will stop generating further tokens.Helper class to createStringthat implementsChatCompletionsRequestCommonStop.Helper class to createList<String>that implementsChatCompletionsRequestCommonStop.Options for streaming response.A chat completion delta generated by streamed model responses.The role of the author of this message.Deprecated.ChatCompletionTokenLogprobChatCompletionTokenLogprobTopLogprobsInnerChatCompletionToolThe type of the tool.Controls which (if any) tool is called by the model.Helper class to createChatCompletionNamedToolChoicethat implementsChatCompletionToolChoiceOption.Helper class to createStringthat implementsChatCompletionToolChoiceOption.Usage statistics for the completion request.Breakdown of tokens used in a completion.Information about the content filtering category (hate, sexual, violence, self_harm), if it has been detected, as well as the severity level (very_low, low, medium, high-scale that determines the intensity and risk level of harmful content) and if it has been filtered or not.ContentFilterDetectedResultContentFilterDetectedWithCitationResultContentFilterDetectedWithCitationResultAllOfCitationInformation about the content filtering category (hate, sexual, violence, self_harm), if it has been detected, as well as the severity level (very_low, low, medium, high-scale that determines the intensity and risk level of harmful content) and if it has been filtered or not.ContentFilterResultBaseInformation about the content filtering results.ContentFilterSeverityResultGets or Sets severityCreateChatCompletionRequestDeprecated.Helper class to createChatCompletionFunctionCallOptionthat implementsCreateChatCompletionRequestAllOfFunctionCall.Helper class to createStringthat implementsCreateChatCompletionRequestAllOfFunctionCall.An object specifying the format that the model must output.Up to 4 sequences where the API will stop generating further tokens.Helper class to createStringthat implementsCreateChatCompletionRequestAllOfStop.Helper class to createList<String>that implementsCreateChatCompletionRequestAllOfStop.Represents a chat completion response returned by model, based on the provided input.The object type, which is always `chat.completion`.CreateChatCompletionResponseChoicesInnerThe reason the model stopped generating tokens.Log probability information for the choice.Represents a streamed chunk of a chat completion response returned by model, based on the provided input.The object type, which is always `chat.completion.chunk`.CreateChatCompletionStreamResponseChoicesInnerThe reason the model stopped generating tokens.EmbeddingsCreate200ResponseEmbeddingsCreate200ResponseDataInnerEmbeddingsCreate200ResponseUsageEmbeddingsCreateRequestInput text to get embeddings for, encoded as a string.Helper class to createStringthat implementsEmbeddingsCreateRequestInput.Helper class to createList<String>that implementsEmbeddingsCreateRequestInput.ErrorErrorBaseErrorResponseFunctionObjectInner error with additional details.Error codes for the inner error object.Content filtering results for a single prompt in the request.ResponseFormatJsonObjectThe type of response format being defined: `json_object`ResponseFormatJsonSchemaThe type of response format being defined: `json_schema`ResponseFormatJsonSchemaJsonSchemaResponseFormatTextThe type of response format being defined: `text`The type of the tool call, in this case `function`.