Template Class PyLLMNode#

Inheritance Relationships#

Base Type#

Class Documentation#

template<class BaseT = LLMNode>
class PyLLMNode : public morpheus::llm::PyLLMNodeBase<LLMNode>#

Public Functions

virtual std::shared_ptr<LLMNodeRunner> add_node(
std::string name,
user_input_mappings_t inputs,
std::shared_ptr<LLMNodeBase> node,
bool is_output = false
) override#

Add child node to this node and validate user input mappings.

Parameters:
  • name – child node name

  • inputs – child node input mappings

  • node – child node object

  • is_output – true if output node

Returns:

std::shared_ptr<LLMNodeRunner>