Class Jackson3InMemoryEmbeddingStoreJsonCodec
java.lang.Object
dev.langchain4j.jackson3.inmemory.Jackson3InMemoryEmbeddingStoreJsonCodec
- All Implemented Interfaces:
InMemoryEmbeddingStoreJsonCodec
public class Jackson3InMemoryEmbeddingStoreJsonCodec
extends Object
implements InMemoryEmbeddingStoreJsonCodec
Jackson 3 twin of the default in-memory embedding store codec.
Every annotation on the mixins below comes from the shared jackson-annotations
artifact, so they are identical to the Jackson 2 version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson(InputStream inputStream) toJson(InMemoryEmbeddingStore<?> store) voidtoJson(OutputStream outputStream, InMemoryEmbeddingStore<?> store)
-
Constructor Details
-
Jackson3InMemoryEmbeddingStoreJsonCodec
public Jackson3InMemoryEmbeddingStoreJsonCodec()
-
-
Method Details
-
fromJson
- Specified by:
fromJsonin interfaceInMemoryEmbeddingStoreJsonCodec
-
toJson
- Specified by:
toJsonin interfaceInMemoryEmbeddingStoreJsonCodec
-
toJson
- Specified by:
toJsonin interfaceInMemoryEmbeddingStoreJsonCodec
-
fromJson
- Specified by:
fromJsonin interfaceInMemoryEmbeddingStoreJsonCodec
-