Deprecated API
Contents
-
Deprecated Interfaces
-
Deprecated MethodsMethodDescriptionas of 0.31.0, use
Document.metadata()
and thenMetadata.getString(String)
,Metadata.getInteger(String)
,Metadata.getLong(String)
,Metadata.getFloat(String)
,Metadata.getDouble(String)
instead.as of 0.31.0, useMetadata.put(String, String)
,Metadata.put(String, int)
,Metadata.put(String, long)
,Metadata.put(String, float)
,Metadata.put(String, double)
instead.as of 0.31.0, useMetadata.put(String, String)
,Metadata.put(String, int)
,Metadata.put(String, long)
,Metadata.put(String, float)
,Metadata.put(String, double)
instead.as of 0.31.0, useMetadata.toMap()
instead.UseMetadata.from(String, String)
insteadas of 0.31.0, useMetadata.getString(String)
,Metadata.getInteger(String)
,Metadata.getLong(String)
,Metadata.getFloat(String)
,Metadata.getDouble(String)
instead.UseMetadata.metadata(String, String)
insteaddecode throughChatMessage.type()
instead.UseUserMessage.singleText()
orUserMessage.contents()
instead.as of 0.31.0, useTextSegment.metadata()
and thenMetadata.getString(String)
,Metadata.getInteger(String)
,Metadata.getLong(String)
,Metadata.getFloat(String)
,Metadata.getDouble(String)
instead.UseUtils.isNullOrEmpty(Collection)
instead.useTokenUsage.sum(TokenUsage, TokenUsage)
insteadUse/implementContentInjector.inject(List, ChatMessage)
instead.dev.langchain4j.rag.content.injector.DefaultContentInjector.createPrompt(UserMessage, List<Content>) implement/overrideDefaultContentInjector.createPrompt(ChatMessage, List)
instead.useDefaultContentInjector.inject(List, ChatMessage)
instead.Use/implementRetrievalAugmentor.augment(AugmentationRequest)
instead.as of 0.31.0, useEmbeddingStore.search(EmbeddingSearchRequest)
instead.as of 0.31.0, useEmbeddingStore.search(EmbeddingSearchRequest)
instead.as of 0.31.0, useEmbeddingStore.search(EmbeddingSearchRequest)
instead.as of 0.31.0, useEmbeddingStore.search(EmbeddingSearchRequest)
instead.