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:
org.springframework.ai.model.ResponseMetadata

public class AzureOpenAiImageResponseMetadata extends org.springframework.ai.image.ImageResponseMetadata
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 Details

    • AzureOpenAiImageResponseMetadata

      protected AzureOpenAiImageResponseMetadata(Long created)
  • Method Details

    • from

      public static AzureOpenAiImageResponseMetadata from(com.azure.ai.openai.models.ImageGenerations openAiImageResponse)
    • getCreated

      public Long getCreated()
      Overrides:
      getCreated in class org.springframework.ai.image.ImageResponseMetadata
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object