Skip to content

Commit

Permalink
fix for reported and confirmed level mismatch of detail (#26967)
Browse files Browse the repository at this point in the history
  • Loading branch information
trrwilson authored Dec 6, 2023
1 parent 4cd1510 commit 30688b3
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ model ChatMessageImageContentItem extends ChatMessageContentItem {
@doc("An internet location, which must be accessible to the model,from which the image may be retrieved.")
@projectedName("json", "image_url")
imageUrl: ChatMessageImageUrl;

@doc("""
The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and
accuracy.
""")
detail?: ChatMessageImageDetailLevel;
}

@doc("An internet location from which the model may retrieve an image.")
@added(ServiceApiVersions.v2023_12_01_Preview)
model ChatMessageImageUrl {
@doc("The URL of the image.")
url: url;

@doc("""
The evaluation quality setting to use, which controls relative prioritization of speed, token consumption, and
accuracy.
""")
detail?: ChatMessageImageDetailLevel;
}

@discriminator("role")
Expand Down

0 comments on commit 30688b3

Please sign in to comment.