Class ChatCompletion

java.lang.Object
xyz.felh.openai.OpenAiApiObjectWithId
xyz.felh.openai.chat.ChatCompletion
All Implemented Interfaces:
Serializable, IOpenAiApiObject

public class ChatCompletion extends OpenAiApiObjectWithId
The chat completion object

Represents a chat completion response returned by model, based on the provided input.

See Also:
  • Field Details

    • OBJECT

      public static String OBJECT
    • CHUNK_OBJECT

      public static String CHUNK_OBJECT
  • Constructor Details

    • ChatCompletion

      public ChatCompletion()
  • Method Details

    • isChunked

      public boolean isChunked()