接口 Chain<Input,Output>
- 类型参数:
Input- the input typeOutput- the output type
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Represents a chain step that takes an input and produces an output.
It is recommended to use
AiServices from dev.langchain4j:langchain4j module instead,
as it is more powerful.-
方法概要
-
方法详细资料
-
execute
Execute the chain step.- 参数:
input- the input- 返回:
- the output
-