Class PyLLMTaskHandler#
Defined in File py_llm_task_handler.hpp
Inheritance Relationships#
Base Type#
public morpheus::llm::LLMTaskHandler
(Class LLMTaskHandler)
Class Documentation#
-
class PyLLMTaskHandler : public morpheus::llm::LLMTaskHandler#
Public Functions
-
~PyLLMTaskHandler() override#
-
virtual std::vector<std::string> get_input_names() const override#
Virtual method for implementing how task handler gets its input names.
- Returns:
std::vector<std::string>
- std::shared_ptr<LLMContext> context
Virtual method for implementing execution of 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>
-
~PyLLMTaskHandler() override#