Class EmbeddingStoreRequestContext<Embedded>
java.lang.Object
dev.langchain4j.store.embedding.listener.EmbeddingStoreRequestContext<Embedded>
- Direct Known Subclasses:
EmbeddingStoreRequestContext.Add, EmbeddingStoreRequestContext.AddAll, EmbeddingStoreRequestContext.Remove, EmbeddingStoreRequestContext.RemoveAll, EmbeddingStoreRequestContext.RemoveAllFilter, EmbeddingStoreRequestContext.RemoveAllIds, EmbeddingStoreRequestContext.Search
The embedding store request context.
It contains operation details and attributes.
The attributes can be used to pass data between methods of an
EmbeddingStoreListener
or between multiple EmbeddingStoreListeners.- Since:
- 1.11.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTheadd(...)request context.static final classTheaddAll(...)request context.static final classTheremove(String)request context.static final classTheremoveAll()request context.static final classTheremoveAll(Filter)request context.static final classTheremoveAll(ids)request context.static final classThesearch(...)request context. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmbeddingStoreRequestContext(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
EmbeddingStoreRequestContext
protected EmbeddingStoreRequestContext(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes)
-
-
Method Details
-
embeddingStore
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of a
EmbeddingStoreListeneror between multipleEmbeddingStoreListeners.
-