Template Function morpheus::llm::make_lambda_node(std::function&&)
Defined in File llm_lambda_node.hpp
-
template<typename ReturnT, typename ...ArgsT>
auto morpheus::llm::make_lambda_node(std::function<ReturnT(ArgsT...)> &&fn) Template function that creates a LLMLambdaNode from a function.
- Template Parameters
ReturnT – return type
ArgsT – function args
- Parameters
- Returns
fn – function that returns a Task
auto