Class VearchEmbeddingStore
java.lang.Object
dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
- All Implemented Interfaces:
EmbeddingStore<TextSegment>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVearchEmbeddingStore(String baseUrl, Duration timeout, VearchConfig vearchConfig, Boolean normalizeEmbeddings) -
Method Summary
Modifier and TypeMethodDescriptionadd(Embedding embedding, TextSegment textSegment) voidaddAll(List<Embedding> embeddings, List<TextSegment> embedded) static VearchEmbeddingStore.Builderbuilder()voidfindRelevant(Embedding referenceEmbedding, int maxResults, double minScore) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.store.embedding.EmbeddingStore
findRelevant, findRelevant, findRelevant, search
-
Constructor Details
-
VearchEmbeddingStore
public VearchEmbeddingStore(String baseUrl, Duration timeout, VearchConfig vearchConfig, Boolean normalizeEmbeddings)
-
-
Method Details
-
builder
-
add
- Specified by:
addin interfaceEmbeddingStore<TextSegment>
-
add
- Specified by:
addin interfaceEmbeddingStore<TextSegment>
-
add
- Specified by:
addin interfaceEmbeddingStore<TextSegment>
-
addAll
- Specified by:
addAllin interfaceEmbeddingStore<TextSegment>
-
addAll
- Specified by:
addAllin interfaceEmbeddingStore<TextSegment>
-
findRelevant
public List<EmbeddingMatch<TextSegment>> findRelevant(Embedding referenceEmbedding, int maxResults, double minScore) - Specified by:
findRelevantin interfaceEmbeddingStore<TextSegment>
-
deleteSpace
public void deleteSpace()
-