Interface OpenAIChatResponse.Message

  • Enclosing interface:
    OpenAIChatResponse

    public static interface OpenAIChatResponse.Message
    Represents a message in the chat completion response.
    • Method Detail

      • getRole

        String getRole()
        Gets the role of the message.
        Returns:
        the role of the message
      • getContent

        String getContent()
        Gets the content of the message.
        Returns:
        the content of the message