Class LangChainItemMarshaller

java.lang.Object
dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<LangChainInfinispanItem>, org.infinispan.protostream.MessageMarshaller<LangChainInfinispanItem>

public class LangChainItemMarshaller extends Object implements org.infinispan.protostream.MessageMarshaller<LangChainInfinispanItem>
Marshaller to read and write embeddings to Infinispan
  • Constructor Details

    • LangChainItemMarshaller

      public LangChainItemMarshaller(String typeName)
      Constructor for the LangChainItemMarshaller Marshaller
      Parameters:
      typeName - , the full type of the protobuf entity
  • Method Details