Class DocumentUtils

java.lang.Object
org.springframework.ai.vectorstore.s3.DocumentUtils

public final class DocumentUtils extends Object
Helper class to convert from AWS SDK Document to Object and vice versa.
Author:
Matej Nedic
  • Method Details

    • toDocument

      public static software.amazon.awssdk.core.document.Document toDocument(@Nullable Object obj)
    • fromDocument

      public static @Nullable Map<String,Object> fromDocument(software.amazon.awssdk.core.document.Document document)