@aigne/example-workflow-group-chat 1.5.0 → 1.7.1

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.
Files changed (3) hide show
  1. package/README.md +8 -6
  2. package/index.ts +1 -1
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -33,15 +33,17 @@ class illustrator processing
33
33
  ## Prerequisites
34
34
 
35
35
  - [Node.js](https://nodejs.org) and npm installed on your machine
36
- - [OpenAI API key](https://platform.openai.com/api-keys) used to interact with OpenAI API
37
- - [Pnpm](https://pnpm.io) [Optional] if you want to run the example from source code
36
+ - An [OpenAI API key](https://platform.openai.com/api-keys) for interacting with OpenAI's services
37
+ - Optional dependencies (if running the example from source code):
38
+ - [Bun](https://bun.sh) for running unit tests & examples
39
+ - [Pnpm](https://pnpm.io) for package management
38
40
 
39
- ## Try without Installation
41
+ ## Quick Start (No Installation Required)
40
42
 
41
43
  ```bash
42
- export OPENAI_API_KEY=YOUR_OPENAI_API_KEY # setup your OpenAI API key
44
+ export OPENAI_API_KEY=YOUR_OPENAI_API_KEY # Set your OpenAI API key
43
45
 
44
- npx -y @aigne/example-workflow-group-chat # run the example
46
+ npx -y @aigne/example-workflow-group-chat # Run the example
45
47
  ```
46
48
 
47
49
  ## Installation
@@ -65,7 +67,7 @@ pnpm install
65
67
  Setup your OpenAI API key in the `.env.local` file:
66
68
 
67
69
  ```bash
68
- OPENAI_API_KEY="" # setup your OpenAI API key here
70
+ OPENAI_API_KEY="" # Set your OpenAI API key here
69
71
  ```
70
72
 
71
73
  ### Run the Example
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env npx -y bun
1
+ #!/usr/bin/env bunwrapper
2
2
 
3
3
  import assert from "node:assert";
4
4
  import { randomUUID } from "node:crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-workflow-group-chat",
3
- "version": "1.5.0",
3
+ "version": "1.7.1",
4
4
  "description": "A demonstration of using AIGNE Framework to build a group chat 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-group-chat",
@@ -16,13 +16,13 @@
16
16
  "README.md"
17
17
  ],
18
18
  "dependencies": {
19
- "openai": "^4.93.0",
19
+ "openai": "^4.94.0",
20
20
  "zod": "^3.24.2",
21
- "@aigne/cli": "^1.2.0",
22
- "@aigne/core": "^1.7.0"
21
+ "@aigne/core": "^1.10.0",
22
+ "@aigne/cli": "^1.5.1"
23
23
  },
24
24
  "scripts": {
25
- "start": "npx -y bun run index.ts",
25
+ "start": "bun run index.ts",
26
26
  "lint": "tsc --noEmit"
27
27
  }
28
28
  }