Class MongoDbMatchedDocument

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

public class MongoDbMatchedDocument extends Object
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getEmbedding

      public List<Float> getEmbedding()
    • setEmbedding

      public void setEmbedding(List<Float> embedding)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • getMetadata

      public Map<String,Object> getMetadata()
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • getScore

      public Double getScore()
    • setScore

      public void setScore(Double score)