@aigne/example-workflow-reflection 1.15.89-beta.9 → 1.15.89
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 +5 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ class reviewer processing
|
|
|
46
46
|
npx -y @aigne/example-workflow-reflection
|
|
47
47
|
|
|
48
48
|
# Run in interactive chat mode
|
|
49
|
-
npx -y @aigne/example-workflow-reflection --
|
|
49
|
+
npx -y @aigne/example-workflow-reflection --interactive
|
|
50
50
|
|
|
51
51
|
# Use pipeline input
|
|
52
52
|
echo "Write a function to validate email addresses" | npx -y @aigne/example-workflow-reflection
|
|
@@ -54,7 +54,7 @@ echo "Write a function to validate email addresses" | npx -y @aigne/example-work
|
|
|
54
54
|
|
|
55
55
|
### Connect to an AI Model
|
|
56
56
|
|
|
57
|
-
As an example, running `npx -y @aigne/example-workflow-reflection --
|
|
57
|
+
As an example, running `npx -y @aigne/example-workflow-reflection --interactive` requires an AI model. If this is your first run, you need to connect one.
|
|
58
58
|
|
|
59
59
|

|
|
60
60
|
|
|
@@ -115,7 +115,7 @@ pnpm install
|
|
|
115
115
|
pnpm start # Run in one-shot mode (default)
|
|
116
116
|
|
|
117
117
|
# Run in interactive chat mode
|
|
118
|
-
pnpm start -- --
|
|
118
|
+
pnpm start -- --interactive
|
|
119
119
|
|
|
120
120
|
# Use pipeline input
|
|
121
121
|
echo "Write a function to validate email addresses" | pnpm start
|
|
@@ -127,7 +127,7 @@ The example supports the following command-line parameters:
|
|
|
127
127
|
|
|
128
128
|
| Parameter | Description | Default |
|
|
129
129
|
|-----------|-------------|---------|
|
|
130
|
-
| `--
|
|
130
|
+
| `--interactive` | Run in interactive chat mode | Disabled (one-shot mode) |
|
|
131
131
|
| `--model <provider[:model]>` | AI model to use in format 'provider\[:model]' where model is optional. Examples: 'openai' or 'openai:gpt-4o-mini' | openai |
|
|
132
132
|
| `--temperature <value>` | Temperature for model generation | Provider default |
|
|
133
133
|
| `--top-p <value>` | Top-p sampling value | Provider default |
|
|
@@ -140,7 +140,7 @@ The example supports the following command-line parameters:
|
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
142
|
# Run in chat mode (interactive)
|
|
143
|
-
pnpm start -- --
|
|
143
|
+
pnpm start -- --interactive
|
|
144
144
|
|
|
145
145
|
# Set logging level
|
|
146
146
|
pnpm start -- --log-level DEBUG
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-workflow-reflection",
|
|
3
|
-
"version": "1.15.89
|
|
3
|
+
"version": "1.15.89",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a reflection workflow",
|
|
5
5
|
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
6
|
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/workflow-reflection",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.25.67",
|
|
20
|
-
"@aigne/agent-library": "^1.24.0
|
|
21
|
-
"@aigne/cli": "^1.59.0
|
|
22
|
-
"@aigne/core": "^1.72.0
|
|
23
|
-
"@aigne/openai": "^0.16.16
|
|
20
|
+
"@aigne/agent-library": "^1.24.0",
|
|
21
|
+
"@aigne/cli": "^1.59.0",
|
|
22
|
+
"@aigne/core": "^1.72.0",
|
|
23
|
+
"@aigne/openai": "^0.16.16"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/bun": "^1.2.22",
|
|
27
|
-
"@aigne/test-utils": "^0.5.69
|
|
27
|
+
"@aigne/test-utils": "^0.5.69"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"start": "bun run index.ts",
|