Uses of Class
dev.langchain4j.data.document.Metadata
Package
Description
-
Uses of Metadata in dev.langchain4j.data.document
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.as of 0.31.0, useput(String, String)
,put(String, int)
,put(String, long)
,put(String, float)
,put(String, double)
instead.Metadata.copy()
Copies the metadata.static Metadata
Deprecated, for removal: This API element is subject to removal in a future version.Usefrom(String, String)
insteadstatic Metadata
Constructs a Metadata object from a single key-value pair.static Metadata
Constructs a Metadata object from a map of key-value pairs.Document.metadata()
Returns the metadata associated with this document.DocumentSource.metadata()
Returns the metadata associated with the source of the document.static Metadata
Deprecated, for removal: This API element is subject to removal in a future version.Usemetadata(String, String)
insteadstatic Metadata
Constructs a Metadata object from a single key-value pair.Adds a key-value pair to the metadata.Adds a key-value pair to the metadata.Adds a key-value pair to the metadata.Adds a key-value pair to the metadata.Adds a key-value pair to the metadata.Adds a key-value pair to the metadata.Removes the given key from the metadata. -
Uses of Metadata in dev.langchain4j.data.document.source
-
Uses of Metadata in dev.langchain4j.data.document.source.amazon.s3
-
Uses of Metadata in dev.langchain4j.data.document.source.azure.storage.blob
-
Uses of Metadata in dev.langchain4j.data.document.source.gcs
-
Uses of Metadata in dev.langchain4j.data.document.source.github
-
Uses of Metadata in dev.langchain4j.data.document.source.tencent.cos
-
Uses of Metadata in dev.langchain4j.data.segment
Modifier and TypeMethodDescriptionstatic TextSegment
Creates a new text segment.static TextSegment
TextSegment.textSegment
(String text, Metadata metadata) Creates a new text segment.ModifierConstructorDescriptionTextSegment
(String text, Metadata metadata) Creates a new text segment. -
Uses of Metadata in dev.langchain4j.rag.content.injector
-
Uses of Metadata in dev.langchain4j.store.embedding.cassandra
Modifier and TypeMethodDescriptionCassandraEmbeddingStore.findRelevant
(Embedding embedding, int maxResults, double minScore, Metadata metadata) Similarity Search ANN based on the embedding.
put(String, String)
,put(String, int)
,put(String, long)
,put(String, float)
,put(String, double)
instead.