Class LLMNodeBase

Derived Types

class LLMNodeBase

Base class for LLMNode.

Subclassed by morpheus::llm::LLMLambdaNode< ReturnT, ArgsT >, morpheus::llm::LLMNode, morpheus::llm::PyLLMLambdaNode, morpheus::llm::PyLLMNodeBase< BaseT >

Public Functions

virtual ~LLMNodeBase() = default

Destroy the LLMNodeBase object.

virtual std::vector<std::string> get_input_names() const = 0

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) = 0

Virtual method for implementing the execution of a node.

Parameters

context – context for node’s execution

Returns

Task>

Previous Class LLMNode
Next Class LLMNodeRunner
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.