Class AzureOpenAiImageResponseMetadata
java.lang.Object
org.springframework.ai.model.MutableResponseMetadata
org.springframework.ai.image.ImageResponseMetadata
org.springframework.ai.azure.openai.metadata.AzureOpenAiImageResponseMetadata
- All Implemented Interfaces:
ResponseMetadata
Represents metadata associated with an image response from the Azure OpenAI image
model. It provides additional information about the generative response from the Azure
OpenAI image model, including the creation timestamp of the generated image.
- Since:
- 1.0.0 M1
- Author:
- Benoit Moussaud
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.ai.model.MutableResponseMetadata
clear, computeIfAbsent, containsKey, entrySet, get, getOrDefault, getRawMap, getRequired, isEmpty, keySet, put, remove
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.ai.model.ResponseMetadata
getOrDefault
-
Constructor Details
-
AzureOpenAiImageResponseMetadata
-
-
Method Details
-
from
public static AzureOpenAiImageResponseMetadata from(com.azure.ai.openai.models.ImageGenerations openAiImageResponse) -
getCreated
- Overrides:
getCreated
in classImageResponseMetadata
-
toString
-
equals
-
hashCode
public int hashCode()
-