RunStepCodeInterpreterImageOutput Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. RunStepCodeInterpreterToolCallOutput - com.
azure. ai. agents. persistent. models. RunStepCodeInterpreterImageOutput
- com.
- com.
public final class RunStepCodeInterpreterImageOutput
extends RunStepCodeInterpreterToolCallOutput
A representation of an image output emitted by a code interpreter tool in response to a tool call by the model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
|
Run |
getImage()
Get the image property: Referential information for the image associated with this output. |
| String |
getType()
Get the type property: The object type. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from RunStepCodeInterpreterToolCallOutput
Methods inherited from java.lang.Object
Method Details
fromJson
public static RunStepCodeInterpreterImageOutput fromJson(JsonReader jsonReader)
Reads an instance of RunStepCodeInterpreterImageOutput from the JsonReader.
Parameters:
Returns:
Throws:
getImage
public RunStepCodeInterpreterImageReference getImage()
Get the image property: Referential information for the image associated with this output.
Returns:
getType
public String getType()
Get the type property: The object type.
Overrides:
RunStepCodeInterpreterImageOutput.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RunStepCodeInterpreterImageOutput.toJson(JsonWriter jsonWriter)Parameters:
Throws: