NVIDIA Morpheus (24.06)
(Latest Version)

Template Class PyLLMNodeBase

Base Type

Derived Type

template<class BaseT = LLMNodeBase>
class PyLLMNodeBase : public morpheus::llm::LLMNodeBase

Subclassed by morpheus::llm::PyLLMNode< LLMEngine >

Public Functions

virtual ~PyLLMNodeBase()

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>

virtual Task<std::shared_ptr<LLMContext>> execute(std::shared_ptr<LLMContext> context) override

Virtual method for implementing the execution of a node.

Parameters

context – context for node’s execution

Returns

Task>

Previous Template Class PyLLMNode
Next Class PyLLMTaskHandler
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.