@aigne/example-chat-bot 1.11.0 → 1.12.0
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/.env.local.example +15 -0
- package/package.json +3 -3
package/.env.local.example
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
# Change the name of this file to .env.local and fill in the following values
|
|
2
2
|
|
|
3
|
+
# Use this for OpenAI models
|
|
4
|
+
# MODEL="openai:gpt-4.1"
|
|
3
5
|
OPENAI_API_KEY="" # Your OpenAI API key
|
|
6
|
+
|
|
7
|
+
# Use this for Anthropic models
|
|
8
|
+
# MODEL="anthropic:claude-3-7-sonnet-latest"
|
|
9
|
+
# ANTHROPIC_API_KEY="" # Your Anthropic API key
|
|
10
|
+
|
|
11
|
+
# Use this for AWS Bedrock models
|
|
12
|
+
# AWS_ACCESS_KEY_ID=""
|
|
13
|
+
# AWS_SECRET_ACCESS_KEY=""
|
|
14
|
+
# AWS_REGION=us-west-2
|
|
15
|
+
# MODEL=Bedrock:us.amazon.nova-premier-v1:0
|
|
16
|
+
|
|
17
|
+
# Setup proxy if needed
|
|
18
|
+
# HTTPS_PROXY=http://localhost:7890
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-chat-bot",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a chat bot",
|
|
5
5
|
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
6
|
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/chat-bot",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aigne/cli": "^1.
|
|
21
|
+
"@aigne/cli": "^1.17.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/bun": "^1.2.9",
|
|
25
|
-
"@aigne/test-utils": "^0.4.
|
|
25
|
+
"@aigne/test-utils": "^0.4.11"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"start": "bun run index.ts",
|