Package com.openai.models
Interface MessageContent.Visitor
-
- All Implemented Interfaces:
public interface MessageContent.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitImageFileContentBlock(ImageFileContentBlock imageFileContentBlock)
References an image File in the content of a message. abstract T
visitImageUrlContentBlock(ImageUrlContentBlock imageUrlContentBlock)
References an image URL in the content of a message. abstract T
visitTextContentBlock(TextContentBlock textContentBlock)
The text content that is part of a message. abstract T
visitRefusalContentBlock(RefusalContentBlock refusalContentBlock)
The refusal content generated by the assistant. T
unknown(JsonValue json)
-
-
Method Detail
-
visitImageFileContentBlock
abstract T visitImageFileContentBlock(ImageFileContentBlock imageFileContentBlock)
References an image File in the content of a message.
-
visitImageUrlContentBlock
abstract T visitImageUrlContentBlock(ImageUrlContentBlock imageUrlContentBlock)
References an image URL in the content of a message.
-
visitTextContentBlock
abstract T visitTextContentBlock(TextContentBlock textContentBlock)
The text content that is part of a message.
-
visitRefusalContentBlock
abstract T visitRefusalContentBlock(RefusalContentBlock refusalContentBlock)
The refusal content generated by the assistant.
-
-
-
-