Skip to content

Commit

Permalink
updating packages version in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Raghuwanshi committed Jun 4, 2024
1 parent 4ffa6dd commit 3fef17a
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 17 deletions.
5 changes: 3 additions & 2 deletions JS/edgechains/examples/chat-with-llm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
},
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.3.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"file-uri-to-path": "^2.0.0",
"path": "^0.12.7",
"sync-rpc": "^1.3.6",
"zod": "^3.23.8"
Expand Down
4 changes: 2 additions & 2 deletions JS/edgechains/examples/chat-with-pdf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.3.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"@babel/preset-env": "^7.24.4",
"cli-spinner": "^0.2.10",
"file-uri-to-path": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion JS/edgechains/examples/chat-with-pdf/src/routes/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getQueryMatch = createClient(path.join(__dirname, "../../lib/getQueryMatch
const getEmbeddings = createClient(path.join(__dirname, "../../lib/getEmbeddings.cjs"));

// this should run only once for uploding pdf data to supabase then you can continue with the chatbot functionality
// await InsertToSupabase(splitedDocs);
await InsertToSupabase(splitedDocs);

export const ChatRouter: any = server.createApp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"author": "",
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.2.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"axios": "^1.7.1",
"file-uri-to-path": "^2.0.0",
"moment-timezone": "^0.5.45",
"openai": "^4.47.1",
"path": "^0.12.7",
"sync-rpc": "^1.3.6"
},
"devDependencies": {
"@types/node": "^20.14.1",
"path": "^0.12.7"
"@types/node": "^20.14.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
},
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.2.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"file-uri-to-path": "^2.0.0",
"hono": "^4.3.7",
"path": "^0.12.7",
"sync-rpc": "^1.3.6",
"zod": "^3.23.8"
},
Expand Down
4 changes: 2 additions & 2 deletions JS/edgechains/examples/react-chain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.3.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"axios": "^1.7.2",
"file-uri-to-path": "^2.0.0",
"path": "^0.12.7",
Expand Down
1 change: 0 additions & 1 deletion JS/edgechains/examples/summarize-page/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ app.get("/", async (c) => {
jsonnet.javascriptCallback("openAICall", openAICall);
jsonnet.javascriptCallback("getPageContent", getPageContent);
let response = jsonnet.evaluateFile(path.join(__dirname, "../../jsonnet/main.jsonnet"));
console.log(response);
return c.json(response);
});
server.listen(3000);
4 changes: 2 additions & 2 deletions JS/edgechains/examples/summarize-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"license": "ISC",
"dependencies": {
"@arakoodev/edgechains.js": "^0.1.23",
"@arakoodev/jsonnet": "^0.3.1",
"@arakoodev/edgechains.js": "^0.23.6",
"@arakoodev/jsonnet": "^0.23.6",
"file-uri-to-path": "^2.0.0",
"path": "^0.12.7",
"sync-rpc": "^1.3.6",
Expand Down
1 change: 0 additions & 1 deletion JS/edgechains/examples/summarize-page/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ app.get("/", async (c: any) => {
jsonnet.javascriptCallback("openAICall", openAICall);
jsonnet.javascriptCallback("getPageContent", getPageContent);
let response = jsonnet.evaluateFile(path.join(__dirname, "../../jsonnet/main.jsonnet"));
console.log(response)
return c.json(response);
});

Expand Down

0 comments on commit 3fef17a

Please sign in to comment.