Class FlowableDocumentRetriever
java.lang.Object
com.flowable.agent.engine.impl.model.chatclient.FlowableDocumentRetriever
- All Implemented Interfaces:
Function<org.springframework.ai.rag.Query,,List<org.springframework.ai.document.Document>> org.springframework.ai.rag.retrieval.search.DocumentRetriever
public class FlowableDocumentRetriever
extends Object
implements org.springframework.ai.rag.retrieval.search.DocumentRetriever
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.flowable.common.engine.impl.interceptor.CommandExecutor -
Constructor Summary
ConstructorsConstructorDescriptionFlowableDocumentRetriever(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.springframework.ai.document.Document> internalRetrieve(org.springframework.ai.rag.Query query, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) List<org.springframework.ai.document.Document> retrieve(org.springframework.ai.rag.Query query) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.ai.rag.retrieval.search.DocumentRetriever
apply
-
Field Details
-
commandExecutor
protected final org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor
-
-
Constructor Details
-
FlowableDocumentRetriever
public FlowableDocumentRetriever(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
retrieve
public List<org.springframework.ai.document.Document> retrieve(org.springframework.ai.rag.Query query) - Specified by:
retrievein interfaceorg.springframework.ai.rag.retrieval.search.DocumentRetriever
-
internalRetrieve
protected List<org.springframework.ai.document.Document> internalRetrieve(org.springframework.ai.rag.Query query, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-