Template Class PyLLMNode

Base Type

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>

Previous Class PyLLMLambdaNode
Next Template Class PyLLMNodeBase
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.