Class IndexMapping

java.lang.Object
dev.langchain4j.store.embedding.mongodb.IndexMapping

public class IndexMapping extends Object
  • Constructor Details

    • IndexMapping

      public IndexMapping(int dimension, Set<String> metadataFieldNames)
  • Method Details

    • defaultIndexMapping

      public static IndexMapping defaultIndexMapping()
    • getDimension

      public int getDimension()
    • getMetadataFieldNames

      public Set<String> getMetadataFieldNames()
    • builder

      public static IndexMapping.Builder builder()