agents.chain.examples_simple

Simple examples of using ChainAgent.

from typing import Any, Dict Shows how easy it is to build chains.

Functions

example_basic()

Just list your nodes.

example_direct()

Using ChainAgent class directly.

example_incremental()

Build step by step.

example_mixed()

Mix different node types.

example_rag_router()

Complete RAG router - super simple.

example_routing()

Custom edges for complex flows.

Module Contents

agents.chain.examples_simple.example_basic()

Just list your nodes.

Return type:

Any

agents.chain.examples_simple.example_direct()

Using ChainAgent class directly.

Return type:

Any

agents.chain.examples_simple.example_incremental()

Build step by step.

Return type:

Any

agents.chain.examples_simple.example_mixed()

Mix different node types.

Return type:

Any

agents.chain.examples_simple.example_rag_router()

Complete RAG router - super simple.

Return type:

Any

agents.chain.examples_simple.example_routing()

Custom edges for complex flows.

Return type:

Any