Uses of Class
dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Packages that use CoherenceEmbeddingStore.Builder
-
Uses of CoherenceEmbeddingStore.Builder in dev.langchain4j.store.embedding.coherence
Methods in dev.langchain4j.store.embedding.coherence that return CoherenceEmbeddingStore.BuilderModifier and TypeMethodDescriptionCoherenceEmbeddingStore.builder()
Return aCoherenceEmbeddingStore.Builder
to use to build aCoherenceEmbeddingStore
.CoherenceEmbeddingStore.Builder.index
(com.oracle.coherence.ai.VectorIndexExtractor<com.oracle.coherence.ai.DocumentChunk, com.oracle.coherence.ai.Vector<?>> extractor) Set the vector index to add to the underlyingNamedMap
.Set the name of theNamedMap
that will hold thedocument chunks
.CoherenceEmbeddingStore.Builder.normalizeEmbeddings
(boolean f) Set whether to force normalization of vectors on adding and searching.CoherenceEmbeddingStore.Builder.session
(com.tangosol.net.Session session) Set theSession
to use to obtain the document chunkNamedMap
.Set the name of theSession
to use to obtain the document chunkNamedMap
.