# Package com.sap.ai.sdk.foundationmodels.openai.generated.model

package com.sap.ai.sdk.foundationmodels.openai.generated.model

- Class
  Description
  ChatCompletionFunctionCall
  Deprecated and replaced by `tool_calls`.
  ChatCompletionFunctionCallOption
  Specifying a particular function via `{\"name\": \"my_function\"}` forces the model to call that function.
  ChatCompletionFunctions
  Deprecated.
  ChatCompletionMessageToolCall
  ChatCompletionMessageToolCall
  ChatCompletionMessageToolCallChunk
  ChatCompletionMessageToolCallChunk
  ChatCompletionMessageToolCallChunk.TypeEnum
  The type of the tool.
  ChatCompletionMessageToolCallChunkFunction
  ChatCompletionMessageToolCallChunkFunction
  ChatCompletionMessageToolCallFunction
  The function that the model called.
  ChatCompletionNamedToolChoice
  Specifies a tool the model should use.
  ChatCompletionNamedToolChoice.TypeEnum
  The type of the tool.
  ChatCompletionNamedToolChoiceFunction
  ChatCompletionNamedToolChoiceFunction
  ChatCompletionRequestAssistantMessage
  ChatCompletionRequestAssistantMessage
  ChatCompletionRequestAssistantMessage.RoleEnum
  The role of the messages author, in this case `assistant`.
  ChatCompletionRequestAssistantMessageContent
  The contents of the assistant message.
  ChatCompletionRequestAssistantMessageContent.InnerString
  Helper class to create `String` that implements `ChatCompletionRequestAssistantMessageContent`.
  ChatCompletionRequestAssistantMessageContent.ListOfChatCompletionRequestAssistantMessageContentParts
  Helper class to create `List<ChatCompletionRequestAssistantMessageContentPart>` that implements `ChatCompletionRequestAssistantMessageContent`.
  ChatCompletionRequestAssistantMessageContentPart
  ChatCompletionRequestAssistantMessageContentPart
  ChatCompletionRequestAssistantMessageFunctionCall
  Deprecated.
  ChatCompletionRequestFunctionMessage
  Deprecated.
  ChatCompletionRequestFunctionMessage.RoleEnum
  The role of the messages author, in this case `function`.
  ChatCompletionRequestMessage
  ChatCompletionRequestMessage
  ChatCompletionRequestMessageContentPartImage
  ChatCompletionRequestMessageContentPartImage
  ChatCompletionRequestMessageContentPartImage.TypeEnum
  The type of the content part.
  ChatCompletionRequestMessageContentPartImageImageUrl
  ChatCompletionRequestMessageContentPartImageImageUrl
  ChatCompletionRequestMessageContentPartImageImageUrl.DetailEnum
  Specifies the detail level of the image.
  ChatCompletionRequestMessageContentPartRefusal
  ChatCompletionRequestMessageContentPartRefusal
  ChatCompletionRequestMessageContentPartRefusal.TypeEnum
  The type of the content part.
  ChatCompletionRequestMessageContentPartText
  ChatCompletionRequestMessageContentPartText
  ChatCompletionRequestMessageContentPartText.TypeEnum
  The type of the content part.
  ChatCompletionRequestSystemMessage
  ChatCompletionRequestSystemMessage
  ChatCompletionRequestSystemMessage.RoleEnum
  The role of the messages author, in this case `system`.
  ChatCompletionRequestSystemMessageContent
  The contents of the system message.
  ChatCompletionRequestSystemMessageContent.InnerString
  Helper class to create `String` that implements `ChatCompletionRequestSystemMessageContent`.
  ChatCompletionRequestSystemMessageContent.ListOfChatCompletionRequestMessageContentPartTexts
  Helper class to create `List<ChatCompletionRequestMessageContentPartText>` that implements `ChatCompletionRequestSystemMessageContent`.
  ChatCompletionRequestToolMessage
  ChatCompletionRequestToolMessage
  ChatCompletionRequestToolMessage.RoleEnum
  The role of the messages author, in this case `tool`.
  ChatCompletionRequestToolMessageContent
  The contents of the tool message.
  ChatCompletionRequestToolMessageContent.InnerString
  Helper class to create `String` that implements `ChatCompletionRequestToolMessageContent`.
  ChatCompletionRequestToolMessageContent.ListOfChatCompletionRequestMessageContentPartTexts
  Helper class to create `List<ChatCompletionRequestMessageContentPartText>` that implements `ChatCompletionRequestToolMessageContent`.
  ChatCompletionRequestUserMessage
  ChatCompletionRequestUserMessage
  ChatCompletionRequestUserMessage.RoleEnum
  The role of the messages author, in this case `user`.
  ChatCompletionRequestUserMessageContent
  The contents of the user message.
  ChatCompletionRequestUserMessageContent.InnerString
  Helper class to create `String` that implements `ChatCompletionRequestUserMessageContent`.
  ChatCompletionRequestUserMessageContent.ListOfChatCompletionRequestUserMessageContentParts
  Helper class to create `List<ChatCompletionRequestUserMessageContentPart>` that implements `ChatCompletionRequestUserMessageContent`.
  ChatCompletionRequestUserMessageContentPart
  ChatCompletionRequestUserMessageContentPart
  ChatCompletionResponseMessage
  A chat completion message generated by the model.
  ChatCompletionResponseMessageRole
  The role of the author of the response message.
  ChatCompletionsCreate200Response
  ChatCompletionsCreate200Response
  ChatCompletionsRequestCommon
  ChatCompletionsRequestCommon
  ChatCompletionsRequestCommonStop
  Up to 4 sequences where the API will stop generating further tokens.
  ChatCompletionsRequestCommonStop.InnerString
  Helper class to create `String` that implements `ChatCompletionsRequestCommonStop`.
  ChatCompletionsRequestCommonStop.ListOfStrings
  Helper class to create `List<String>` that implements `ChatCompletionsRequestCommonStop`.
  ChatCompletionStreamOptions
  Options for streaming response.
  ChatCompletionStreamResponseDelta
  A chat completion delta generated by streamed model responses.
  ChatCompletionStreamResponseDelta.RoleEnum
  The role of the author of this message.
  ChatCompletionStreamResponseDeltaFunctionCall
  Deprecated.
  ChatCompletionTokenLogprob
  ChatCompletionTokenLogprob
  ChatCompletionTokenLogprobTopLogprobsInner
  ChatCompletionTokenLogprobTopLogprobsInner
  ChatCompletionTool
  ChatCompletionTool
  ChatCompletionTool.TypeEnum
  The type of the tool.
  ChatCompletionToolChoiceOption
  Controls which (if any) tool is called by the model.
  ChatCompletionToolChoiceOption.InnerChatCompletionNamedToolChoice
  Helper class to create `ChatCompletionNamedToolChoice` that implements `ChatCompletionToolChoiceOption`.
  ChatCompletionToolChoiceOption.InnerString
  Helper class to create `String` that implements `ChatCompletionToolChoiceOption`.
  CompletionUsage
  Usage statistics for the completion request.
  CompletionUsageCompletionTokensDetails
  Breakdown of tokens used in a completion.
  ContentFilterChoiceResults
  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.
  ContentFilterDetectedResult
  ContentFilterDetectedResult
  ContentFilterDetectedWithCitationResult
  ContentFilterDetectedWithCitationResult
  ContentFilterDetectedWithCitationResultAllOfCitation
  ContentFilterDetectedWithCitationResultAllOfCitation
  ContentFilterPromptResults
  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.
  ContentFilterResultBase
  ContentFilterResultBase
  ContentFilterResultsBase
  Information about the content filtering results.
  ContentFilterSeverityResult
  ContentFilterSeverityResult
  ContentFilterSeverityResult.SeverityEnum
  Gets or Sets severity
  CreateChatCompletionRequest
  CreateChatCompletionRequest
  CreateChatCompletionRequestAllOfFunctionCall
  Deprecated.
  CreateChatCompletionRequestAllOfFunctionCall.InnerChatCompletionFunctionCallOption
  Helper class to create `ChatCompletionFunctionCallOption` that implements `CreateChatCompletionRequestAllOfFunctionCall`.
  CreateChatCompletionRequestAllOfFunctionCall.InnerString
  Helper class to create `String` that implements `CreateChatCompletionRequestAllOfFunctionCall`.
  CreateChatCompletionRequestAllOfResponseFormat
  An object specifying the format that the model must output.
  CreateChatCompletionRequestAllOfStop
  Up to 4 sequences where the API will stop generating further tokens.
  CreateChatCompletionRequestAllOfStop.InnerString
  Helper class to create `String` that implements `CreateChatCompletionRequestAllOfStop`.
  CreateChatCompletionRequestAllOfStop.ListOfStrings
  Helper class to create `List<String>` that implements `CreateChatCompletionRequestAllOfStop`.
  CreateChatCompletionResponse
  Represents a chat completion response returned by model, based on the provided input.
  CreateChatCompletionResponse.ObjectEnum
  The object type, which is always `chat.completion`.
  CreateChatCompletionResponseChoicesInner
  CreateChatCompletionResponseChoicesInner
  CreateChatCompletionResponseChoicesInner.FinishReasonEnum
  The reason the model stopped generating tokens.
  CreateChatCompletionResponseChoicesInnerLogprobs
  Log probability information for the choice.
  CreateChatCompletionStreamResponse
  Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
  CreateChatCompletionStreamResponse.ObjectEnum
  The object type, which is always `chat.completion.chunk`.
  CreateChatCompletionStreamResponseChoicesInner
  CreateChatCompletionStreamResponseChoicesInner
  CreateChatCompletionStreamResponseChoicesInner.FinishReasonEnum
  The reason the model stopped generating tokens.
  EmbeddingsCreate200Response
  EmbeddingsCreate200Response
  EmbeddingsCreate200ResponseDataInner
  EmbeddingsCreate200ResponseDataInner
  EmbeddingsCreate200ResponseUsage
  EmbeddingsCreate200ResponseUsage
  EmbeddingsCreateRequest
  EmbeddingsCreateRequest
  EmbeddingsCreateRequestInput
  Input text to get embeddings for, encoded as a string.
  EmbeddingsCreateRequestInput.InnerString
  Helper class to create `String` that implements `EmbeddingsCreateRequestInput`.
  EmbeddingsCreateRequestInput.ListOfStrings
  Helper class to create `List<String>` that implements `EmbeddingsCreateRequestInput`.
  Error
  Error
  ErrorBase
  ErrorBase
  ErrorResponse
  ErrorResponse
  FunctionObject
  FunctionObject
  InnerError
  Inner error with additional details.
  InnerErrorCode
  Error codes for the inner error object.
  PromptFilterResult
  Content filtering results for a single prompt in the request.
  ResponseFormatJsonObject
  ResponseFormatJsonObject
  ResponseFormatJsonObject.TypeEnum
  The type of response format being defined: `json_object`
  ResponseFormatJsonSchema
  ResponseFormatJsonSchema
  ResponseFormatJsonSchema.TypeEnum
  The type of response format being defined: `json_schema`
  ResponseFormatJsonSchemaJsonSchema
  ResponseFormatJsonSchemaJsonSchema
  ResponseFormatText
  ResponseFormatText
  ResponseFormatText.TypeEnum
  The type of response format being defined: `text`
  ToolCallType
  The type of the tool call, in this case `function`.