Package com.sap.ai.sdk.foundationmodels.openai
package com.sap.ai.sdk.foundationmodels.openai
-
ClassDescriptionRepresents a chat message as 'assistant' to OpenAI service.Represents an OpenAI chat completion output delta for streaming.Represents a request for OpenAI chat completion, including conversation messages and parameters.Represents the output of an OpenAI chat completion.Client for interacting with OpenAI models.Generic exception for errors occurring when using OpenAI foundation models.Represents an item in a
OpenAiMessageContentobject.Represents a request to create embeddings using OpenAI's API.Represents a response from the OpenAI Embedding API.Represents an error response from the OpenAI API.Represents a function type tool called by an OpenAI model.Represents an image item in aOpenAiMessageContentobject.The detail level of the image.Interface representing convenience wrappers of chat message to the openai service.Represents the content of a chat message.OpenAI models that are available in AI Core.Represents a chat message as 'system' to OpenAI service.Represents a text item in aOpenAiMessageContentobject.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.Creates a new OpenAiTool instance with the specified name.Represents a tool called by an OpenAI model.OpenAi ToolChoice to specify whether to call which tool.Represents a tool message in the OpenAI service.Represents a chat message as 'user' to OpenAI service.