Class ChatCompletionMessagePart


  • public class ChatCompletionMessagePart
    extends Object
    A text part or image part of a chat completion message.
    
              {
               "type": "text",
               "text": "What’s in this image?"
             }
             or
             {
               "type": "image_url",
               "image_url": {
                 "url": "https://www.example.net/somepicture.jpg"
               }
             }