Package com.azure.ai.openai.models
Class ChatMessageImageUrl
java.lang.Object
com.azure.ai.openai.models.ChatMessageImageUrl
An internet location from which the model may retrieve an image.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ChatMessageImageUrl class. -
Method Summary
Modifier and TypeMethodDescriptionGet the detail property: The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and accuracy.getUrl()Get the url property: The URL of the image.setDetail(ChatMessageImageDetailLevel detail) Set the detail property: The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and accuracy.
-
Constructor Details
-
ChatMessageImageUrl
Creates an instance of ChatMessageImageUrl class.- Parameters:
url- the url value to set.
-
-
Method Details
-
getUrl
Get the url property: The URL of the image.- Returns:
- the url value.
-
getDetail
Get the detail property: The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and accuracy.- Returns:
- the detail value.
-
setDetail
Set the detail property: The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and accuracy.- Parameters:
detail- the detail value to set.- Returns:
- the ChatMessageImageUrl object itself.
-