Class LLMTaskHandlerRunner#
Defined in File llm_task_handler_runner.hpp
Class Documentation#
-
class LLMTaskHandlerRunner#
This class wraps LLMTaskHandler and maintains how its inputs map to node outputs in the LLMEngine.
Public Functions
- input_mappings_t inputs,
- std::shared_ptr<LLMTaskHandler> handler
Construct a new LLMTaskHandlerRunner object.
- Parameters:
inputs – input mappings
handler – task handler object
-
~LLMTaskHandlerRunner()#
Destroy the LLMTaskHandlerRunner object.
- std::shared_ptr<LLMContext> context
Virtual method for implementing task. Called after execution of LLM engine nodes and outputs saved to given context.
- Parameters:
context – context holding outputs after execution of engine nodes
- Returns:
Task<return_t>
-
inline const input_mappings_t &input_names() const#
Get input names for task handler.
- Returns:
std::vector<std::string>