Class SimplePersistentVectorStore
java.lang.Object
org.springframework.ai.vectorstore.InMemoryVectorStore
org.springframework.ai.vectorstore.SimplePersistentVectorStore
- All Implemented Interfaces:
Consumer<List<Document>>
,DocumentWriter
,VectorStore
Adds simple serialization/deserialization to the data stored in the InMemoryVectorStore
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.ai.vectorstore.InMemoryVectorStore
InMemoryVectorStore.EmbeddingMath, InMemoryVectorStore.Similarity
-
Field Summary
Fields inherited from class org.springframework.ai.vectorstore.InMemoryVectorStore
embeddingClient, store
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.ai.vectorstore.InMemoryVectorStore
add, delete, similaritySearch
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ai.vectorstore.VectorStore
accept, similaritySearch
-
Constructor Details
-
SimplePersistentVectorStore
-
-
Method Details
-
save
-
load
-
load
public void load(org.springframework.core.io.Resource resource)
-