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

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

- Related Packages
  Package
  Description
  com.sap.ai.sdk.foundationmodels.openai.model
  com.sap.ai.sdk.foundationmodels.openai.spring
- Class
  Description
  OpenAiAssistantMessage
  Represents a chat message as 'assistant' to OpenAI service.
  OpenAiBatchInput
  Represents a batch input for OpenAI chat completion requests.
  OpenAiBatchInput.SingleRequest
  Represents a single batch request in OpenAI batch format.
  OpenAiChatCompletionDelta
  Represents an OpenAI chat completion output delta for streaming.
  OpenAiChatCompletionRequest
  Represents a request for OpenAI chat completion, including conversation messages and parameters.
  OpenAiChatCompletionResponse
  Represents the output of an OpenAI chat completion.
  OpenAiClient
  Client for interacting with OpenAI models.
  OpenAiClientException
  Generic exception for errors occurring when using OpenAI foundation models.
  OpenAiContentItem
  Represents an item in a `OpenAiMessageContent` object.
  OpenAiEmbeddingRequest
  Represents a request to create embeddings using OpenAI's API.
  OpenAiEmbeddingResponse
  Represents a response from the OpenAI Embedding API.
  OpenAiError
  Represents an error response from the OpenAI API.
  OpenAiFunctionCall
  Represents a function type tool called by an OpenAI model.
  OpenAiImageItem
  Represents an image item in a `OpenAiMessageContent` object.
  OpenAiImageItem.DetailLevel
  The detail level of the image.
  OpenAiMessage
  Interface representing convenience wrappers of chat message to the openai service.
  OpenAiMessageContent
  Represents the content of a chat message.
  OpenAiModel
  OpenAI models that are available in AI Core.
  OpenAiSystemMessage
  Represents a chat message as 'system' to OpenAI service.
  OpenAiTextItem
  Represents a text item in a `OpenAiMessageContent` object.
  OpenAiTool
  Represents an OpenAI tool that can be used to define a function call in an OpenAI Chat Completion request.
  OpenAiTool.Builder1<InputT>
  Creates a new OpenAiTool instance with the specified function and input class.
  OpenAiTool.Builder2
  Creates a new OpenAiTool instance with the specified name.
  OpenAiToolCall
  Represents a tool called by an OpenAI model.
  OpenAiToolChoice
  OpenAi ToolChoice to specify whether to call which tool.
  OpenAiToolMessage
  Represents a tool message in the OpenAI service.
  OpenAiUserMessage
  Represents a chat message as 'user' to OpenAI service.