feat: add new examples from pocketflow-academy
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# Your Project Title
|
||||
|
||||
## Project Requirements
|
||||
A description of the project requirements.
|
||||
|
||||
## Utility Functions
|
||||
|
||||
1. **Call LLM** (`utils/call_llm.py`)
|
||||
|
||||
## Flow Design
|
||||
|
||||
1. **First Node**
|
||||
2. **Second Node**
|
||||
3. **Third Node**
|
||||
|
||||
### Flow Diagram
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
firstNode[First Node] --> secondNode[Second Node]
|
||||
secondNode --> thirdNode[Third Node]
|
||||
```
|
||||
|
||||
## Data Structure
|
||||
|
||||
The shared memory structure will be organized as follows:
|
||||
|
||||
```python
|
||||
shared = {
|
||||
"key": "value"
|
||||
}
|
||||
```
|
||||
|
||||
## Node Designs
|
||||
|
||||
### 1. First Node
|
||||
- **Purpose**: What the node does
|
||||
- **Design**: Regular Node (no Batch/Async)
|
||||
- **Data Access**:
|
||||
- Read: "key" from shared store
|
||||
- Write: "key" to shared store
|
||||
|
||||
### 2. Second Node
|
||||
...
|
||||
|
||||
### 3. Third Node
|
||||
Reference in New Issue
Block a user