parent page
This commit is contained in:
parent
10f7464db3
commit
21dd0ac81b
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: "Async"
|
title: "Async"
|
||||||
parent: Core Abstraction
|
parent: "Core Abstraction"
|
||||||
nav_order: 5
|
nav_order: 5
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: "Batch"
|
title: "Batch"
|
||||||
parent: Core Abstraction
|
parent: "Core Abstraction"
|
||||||
nav_order: 4
|
nav_order: 4
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: "Communication"
|
title: "Communication"
|
||||||
parent: Core Abstraction
|
parent: "Core Abstraction"
|
||||||
nav_order: 3
|
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
|
layout: default
|
||||||
title: "Flow"
|
title: "Flow"
|
||||||
parent: Core Abstraction
|
parent: "Core Abstraction"
|
||||||
nav_order: 2
|
nav_order: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: "Node"
|
title: "Node"
|
||||||
parent: Core Abstraction
|
parent: "Core Abstraction"
|
||||||
nav_order: 1
|
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:
|
A **Node** is the smallest building block of Mini LLM Flow. Each Node has three lifecycle methods:
|
||||||
|
|
||||||
1. **`prep(shared)`**
|
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.
|
- Often used for tasks like reading files, chunking text, or validation.
|
||||||
- Returns `prep_res`, which will be passed to both `exec()` and `post()`.
|
- Returns `prep_res`, which will be passed to both `exec()` and `post()`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue