haive.agents.chain.chain_examples ================================= .. py:module:: haive.agents.chain.chain_examples .. autoapi-nested-parse:: Examples of using the flexible ChainAgent. from typing import Any, Dict Shows different ways to create chains from various node types. Functions --------- .. autoapisummary:: haive.agents.chain.chain_examples.example_engines_as_nodes haive.agents.chain.chain_examples.example_incremental_building haive.agents.chain.chain_examples.example_mapped_flow haive.agents.chain.chain_examples.example_nested_chains haive.agents.chain.chain_examples.example_rag_router_simplified haive.agents.chain.chain_examples.example_sequential_mixed Module Contents --------------- .. py:function:: example_engines_as_nodes() Show how engines can be used directly as nodes. .. py:function:: example_incremental_building() Build a chain step by step. .. py:function:: example_mapped_flow() Create a complex flow using mapping syntax. .. py:function:: example_nested_chains() Create chains that contain other chains. .. py:function:: example_rag_router_simplified() Create a RAG router using the simplified ChainAgent approach. .. py:function:: example_sequential_mixed() Create a chain from different node types.