Class EmbeddingStoreRequestContext.Add<Embedded>
java.lang.Object
dev.langchain4j.store.embedding.listener.EmbeddingStoreRequestContext<Embedded>
dev.langchain4j.store.embedding.listener.EmbeddingStoreRequestContext.Add<Embedded>
- Enclosing class:
EmbeddingStoreRequestContext<Embedded>
@Experimental
public static final class EmbeddingStoreRequestContext.Add<Embedded>
extends EmbeddingStoreRequestContext<Embedded>
The
add(...) request context.- Since:
- 1.11.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class EmbeddingStoreRequestContext
EmbeddingStoreRequestContext.Add<Embedded>, EmbeddingStoreRequestContext.AddAll<Embedded>, EmbeddingStoreRequestContext.Remove<Embedded>, EmbeddingStoreRequestContext.RemoveAll<Embedded>, EmbeddingStoreRequestContext.RemoveAllFilter<Embedded>, EmbeddingStoreRequestContext.RemoveAllIds<Embedded>, EmbeddingStoreRequestContext.Search<Embedded> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Add(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes, String id, Embedding embedding) Deprecated.usebuilder()insteadAdd(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes, String id, Embedding embedding, Embedded embedded) Deprecated.usebuilder()instead -
Method Summary
Methods inherited from class EmbeddingStoreRequestContext
attributes, embeddingStore, invocationId
-
Constructor Details
-
Add
@Deprecated(since="1.24.0") public Add(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes, Embedding embedding) Deprecated.usebuilder()instead -
Add
@Deprecated(since="1.24.0") public Add(EmbeddingStore<Embedded> embeddingStore, Map<Object, Object> attributes, String id, Embedding embedding) Deprecated.usebuilder()instead -
Add
-
-
Method Details
-
id
- Returns:
- The ID argument for operations like
add(String, Embedding)(if applicable).
-
embedding
- Returns:
- The embedding argument for
add(...)operations.
-
embedded
- Returns:
- The original embedded content for
add(Embedding, Embedded)(if applicable).
-
builder
- Since:
- 1.24.0
-
builder()instead