-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating package name and the examples (#365)
- Loading branch information
1 parent
f4460c0
commit d6bdccb
Showing
36 changed files
with
133 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/chat-with-llm/dist/lib/generateResponse.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
{ | ||
"name": "chat-with-youtube-video", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"keywords": [], | ||
"author": "", | ||
"scripts": { | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"arakoodev": "^1.0.10", | ||
"sync-rpc": "^1.3.6", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.12" | ||
} | ||
"name": "ownChatGpt", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"keywords": [], | ||
"author": "", | ||
"scripts": { | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/edgechains.js": "^0.1.23", | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"sync-rpc": "^1.3.6", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.12" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/chat-with-llm/src/lib/generateResponse.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/getWeather-or-time-function-calling/dist/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
JS/edgechains/examples/getWeather-or-time-function-calling/dist/lib/openAIChat.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
JS/edgechains/examples/getWeather-or-time-function-calling/dist/lib/openAIFunction.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 20 additions & 26 deletions
46
JS/edgechains/examples/getWeather-or-time-function-calling/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,22 @@ | ||
{ | ||
"name": "function-calling", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"@sendgrid/mail": "^8.1.3", | ||
"arakoodev": "^1.0.9", | ||
"axios": "^1.7.1", | ||
"moment-timezone": "^0.5.45", | ||
"openai": "^4.47.1", | ||
"readline-sync": "^1.4.10", | ||
"resend": "^3.2.0", | ||
"sync-rpc": "^1.3.6" | ||
}, | ||
"devDependencies": { | ||
"@types/readline-sync": "^1.4.8" | ||
} | ||
"name": "function-calling", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/edgechains.js": "^0.1.23", | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"axios": "^1.7.1", | ||
"moment-timezone": "^0.5.45", | ||
"openai": "^4.47.1", | ||
"sync-rpc": "^1.3.6" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/getWeather-or-time-function-calling/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
JS/edgechains/examples/getWeather-or-time-function-calling/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/getWeather-or-time-function-calling/src/lib/openAIChat.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/getWeather-or-time-function-calling/src/lib/openAIFunction.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/language-translater/backend/dist/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 21 additions & 20 deletions
41
JS/edgechains/examples/language-translater/backend/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
{ | ||
"name": "language-translater", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"keywords": [], | ||
"author": "", | ||
"scripts": { | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"hono": "^4.3.7", | ||
"sync-rpc": "^1.3.6", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@types/cors": "^2.8.17" | ||
} | ||
"name": "language-translater", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"keywords": [], | ||
"author": "", | ||
"scripts": { | ||
"start": "tsc && node --experimental-wasm-modules ./dist/index.js" | ||
}, | ||
"license": "ISC", | ||
"dependencies": { | ||
"@arakoodev/edgechains.js": "^0.1.23", | ||
"@arakoodev/jsonnet": "^0.2.1", | ||
"hono": "^4.3.7", | ||
"sync-rpc": "^1.3.6", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@types/cors": "^2.8.17" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/language-translater/backend/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/language-translater/backend/src/lib/generateResponse.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/react-chain/src/lib/generateResponse.cts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/summarize-page/dist/lib/generateResponse.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
JS/edgechains/examples/summarize-page/dist/lib/getDataFromUrl.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.