Interface MessageService

    • Constructor Detail

    • Method Detail

      • create

         abstract Message create(MessageCreateParams params, RequestOptions requestOptions)

        Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.

        The Messages API can be used for either single queries or stateless multi-turn conversations.

      • create

         abstract Message create(MessageCreateParams params)

        Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.

        The Messages API can be used for either single queries or stateless multi-turn conversations.