parent page
This commit is contained in:
parent
10f7464db3
commit
21dd0ac81b
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Async"
|
||||
parent: Core Abstraction
|
||||
parent: "Core Abstraction"
|
||||
nav_order: 5
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Batch"
|
||||
parent: Core Abstraction
|
||||
parent: "Core Abstraction"
|
||||
nav_order: 4
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Communication"
|
||||
parent: Core Abstraction
|
||||
parent: "Core Abstraction"
|
||||
nav_order: 3
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Core Abstraction"
|
||||
nav_order: 3
|
||||
has_children: true
|
||||
---
|
||||
|
||||
## Core Abstraction
|
||||
|
||||
- [Node](./node.md)
|
||||
- [Flow](./flow.md)
|
||||
- [Communication](./communication.md)
|
||||
- [Batch](./batch.md)
|
||||
- [Async](./async.md)
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Flow"
|
||||
parent: Core Abstraction
|
||||
parent: "Core Abstraction"
|
||||
nav_order: 2
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: "Node"
|
||||
parent: Core Abstraction
|
||||
parent: "Core Abstraction"
|
||||
nav_order: 1
|
||||
---
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ nav_order: 1
|
|||
A **Node** is the smallest building block of Mini LLM Flow. Each Node has three lifecycle methods:
|
||||
|
||||
1. **`prep(shared)`**
|
||||
- Optionally preprocess data before calling your LLM or doing heavy computation.
|
||||
- Optionally preprocess data before calling your LLM or doing heavy computation.
|
||||
- Often used for tasks like reading files, chunking text, or validation.
|
||||
- Returns `prep_res`, which will be passed to both `exec()` and `post()`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue