agents.chain.extended_examples¶
Examples using ExtendedChainAgent for super easy chain building.
Functions¶
Use custom edges with easy syntax. |
|
Mix numeric indices and node names. |
|
Using operator syntax for chaining. |
|
RAG router in the simplest possible way. |
|
Simplest possible chain - just list the nodes. |
|
Using START and END explicitly. |
|
Mix different node types effortlessly. |
|
Easy branching syntax. |
|
Easy loop creation. |
Module Contents¶
- agents.chain.extended_examples.example_custom_edges()¶
Use custom edges with easy syntax.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_mixed_indices_and_names()¶
Mix numeric indices and node names.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_operator_chaining()¶
Using operator syntax for chaining.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_rag_router_super_simple()¶
RAG router in the simplest possible way.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_simple_sequential()¶
Simplest possible chain - just list the nodes.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_start_and_end()¶
Using START and END explicitly.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_with_agents_and_engines()¶
Mix different node types effortlessly.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_with_branching()¶
Easy branching syntax.
- Return type:
haive.agents.chain.extended_chain.Any
- agents.chain.extended_examples.example_with_loop()¶
Easy loop creation.
- Return type:
haive.agents.chain.extended_chain.Any