add graph illustration
This commit is contained in:
parent
3c1c907681
commit
6af6585b15
|
|
@ -6,7 +6,7 @@
|
||||||
[](https://minillmflow.github.io/PocketFlow/)
|
[](https://minillmflow.github.io/PocketFlow/)
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="/assets/minillmflow.jpg" width="400"/>
|
<img src="./assets/minillmflow.jpg" width="400"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
@ -67,7 +67,12 @@ Pocket Flow is also a *learning resource*, as current frameworks abstract too mu
|
||||||
|
|
||||||
## How Does it Work?
|
## How Does it Work?
|
||||||
|
|
||||||
The [100 lines](pocketflow/__init__.py) capture what we see as the core abstraction of most LLM frameworks: a **nested directed graph** that breaks down tasks into multiple (LLM) steps, with branching and recursion for agent-like decision-making. From there, it’s easy to layer on more complex features.
|
The [100 lines](pocketflow/__init__.py) capture what we see as the core abstraction of most LLM frameworks: a **Nested Directed Graph** that breaks down tasks into multiple (LLM) steps, with branching and recursion for agent-like decision-making. From there, it’s easy to layer on more complex features.
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<img src="./assets/graph.png" width="400"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
- To learn more details, please check out documentation: https://minillmflow.github.io/PocketFlow/
|
- To learn more details, please check out documentation: https://minillmflow.github.io/PocketFlow/
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 256 KiB |
Loading…
Reference in New Issue