类的使用
dev.tinyflow.core.chain.Chain
使用Chain的程序包
程序包
说明
Chain 执行链
-
dev.tinyflow.core.chain中Chain的使用
类型参数类型为Chain的dev.tinyflow.core.chain中的字段返回Chain的dev.tinyflow.core.chain中的方法参数类型为Chain的dev.tinyflow.core.chain中的方法修饰符和类型方法说明longNode.calculateComputeCost(Chain chain, Map<String, Object> executeResult) booleanbooleanbooleanbooleanprotected longvoidEventManager.notifyChainError(Throwable error, Chain chain) voidEventManager.notifyEvent(Event event, Chain chain) voidvoidEventManager.notifyOutput(Chain chain, Node node, Object response) -
dev.tinyflow.core.chain.event中Chain的使用
参数类型为Chain的dev.tinyflow.core.chain.event中的构造器限定符构造器说明ChainEndEvent(Chain chain) ChainResumeEvent(Chain chain, Map<String, Object> variables) ChainStartEvent(Chain chain, Map<String, Object> variables) ChainStatusChangeEvent(Chain chain, ChainStatus status, ChainStatus before) EdgeConditionCheckFailedEvent(Chain chain, Edge edge, Node node, Map<String, Object> nodeExecuteResult) EdgeTriggerEvent(Chain chain, Trigger trigger) NodeStartEvent(Chain chain, Node node) -
dev.tinyflow.core.chain.listener中Chain的使用
参数类型为Chain的dev.tinyflow.core.chain.listener中的方法修饰符和类型方法说明voidvoidvoidvoid -
dev.tinyflow.core.chain.runtime中Chain的使用
-
dev.tinyflow.core.code中Chain的使用
参数类型为Chain的dev.tinyflow.core.code中的方法 -
dev.tinyflow.core.code.impl中Chain的使用
参数类型为Chain的dev.tinyflow.core.code.impl中的方法 -
dev.tinyflow.core.filestoreage中Chain的使用
参数类型为Chain的dev.tinyflow.core.filestoreage中的方法 -
dev.tinyflow.core.knowledge中Chain的使用
参数类型为Chain的dev.tinyflow.core.knowledge中的方法 -
dev.tinyflow.core.llm中Chain的使用
参数类型为Chain的dev.tinyflow.core.llm中的方法修饰符和类型方法说明Llm.chat(Llm.MessageInfo messageInfo, Llm.ChatOptions options, LlmNode llmNode, Chain chain) 执行聊天对话操作 -
dev.tinyflow.core.node中Chain的使用
参数类型为Chain的dev.tinyflow.core.node中的方法修饰符和类型方法说明private voidLoopNode.executeLoopChain(Chain chain, LoopNode.LoopContext loopContext, Object loopItem) BaseNode.getFormatParameters(Chain chain) private Deque<LoopNode.LoopContext>LoopNode.getOrCreateLoopStack(Chain chain) 获取或创建当前节点的 LoopContext 堆栈(每个 LoopNode 实例独立)private okhttp3.RequestBodyHttpNode.getRequestBody(Chain chain, Map<String, Object> formatArgs) -
dev.tinyflow.core.searchengine中Chain的使用
参数类型为Chain的dev.tinyflow.core.searchengine中的方法 -
dev.tinyflow.core.searchengine.impl中Chain的使用
参数类型为Chain的dev.tinyflow.core.searchengine.impl中的方法 -
dev.tinyflow.core.util中Chain的使用
参数类型为Chain的dev.tinyflow.core.util中的方法修饰符和类型方法说明JsConditionUtil.collectContextVariables(Chain chain, Map<String, Object> initMap) 收集上下文中的变量static boolean执行 JavaScript 表达式并返回 boolean 结果static long