Class MongoDbDocument
java.lang.Object
dev.langchain4j.store.embedding.mongodb.MongoDbDocument
-
Nested Class Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MongoDbDocument.Builder
builder()
getId()
getText()
void
setEmbedding
(List<Float> embedding) void
void
setMetadata
(Map<String, String> metadata) void
-
Constructor Details
-
MongoDbDocument
public MongoDbDocument() -
MongoDbDocument
-
-
Method Details
-
getId
-
setId
-
getEmbedding
-
setEmbedding
-
getText
-
setText
-
getMetadata
-
setMetadata
-
builder
-