@fractal-solutions/qflow 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,22 @@ npm install @fractal-solutions/qflow
|
|
|
24
24
|
bun add @fractal-solutions/qflow
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
## Module Imports
|
|
28
|
+
|
|
29
|
+
`qflow` provides different entry points for its core functionalities and built-in nodes to keep your imports clean and specific.
|
|
30
|
+
|
|
31
|
+
* **Core Classes (`Node`, `Flow`, `AsyncNode`, `AsyncFlow`, etc.):**
|
|
32
|
+
These are imported directly from the main package:
|
|
33
|
+
```javascript
|
|
34
|
+
import { Node, Flow, AsyncNode, AsyncFlow } from '@fractal-solutions/qflow';
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
* **Built-in Integration Nodes (`LLMNode`, `DeepSeekLLMNode`, `GitHubNode`, `WebScraperNode`, etc.):**
|
|
38
|
+
These are imported from the `/nodes` subpath:
|
|
39
|
+
```javascript
|
|
40
|
+
import { DeepSeekLLMNode, GitHubNode, WebScraperNode } from '@fractal-solutions/qflow/nodes';
|
|
41
|
+
```
|
|
42
|
+
|
|
27
43
|
## Core Abstractions
|
|
28
44
|
|
|
29
45
|
`qflow` is built around a few core abstractions that enable powerful and flexible workflow definitions.
|
package/package.json
CHANGED