static ToolResultContentBlock |
ToolResultContentBlock.fromDocument(Consumer<DocumentBlock.Builder> document) |
Create an instance of this class with document() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromDocument(DocumentBlock document) |
Create an instance of this class with document() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromImage(Consumer<ImageBlock.Builder> image) |
Create an instance of this class with image() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromImage(ImageBlock image) |
Create an instance of this class with image() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromJson(Document json) |
Create an instance of this class with json() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromSearchResult(Consumer<SearchResultBlock.Builder> searchResult) |
Create an instance of this class with searchResult() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromSearchResult(SearchResultBlock searchResult) |
Create an instance of this class with searchResult() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromText(String text) |
Create an instance of this class with text() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromVideo(Consumer<VideoBlock.Builder> video) |
Create an instance of this class with video() initialized to the given value.
|
static ToolResultContentBlock |
ToolResultContentBlock.fromVideo(VideoBlock video) |
Create an instance of this class with video() initialized to the given value.
|