Skip to content

Commit

Permalink
Merge pull request langchain-ai#867 from softboyjimbo/main
Browse files Browse the repository at this point in the history
Bump Metal-sdk to v2.0.1
  • Loading branch information
nfcampos authored Apr 18, 2023
2 parents c9ed48d + 4e61338 commit 52e51a0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "LangChain",
"license": "MIT",
"dependencies": {
"@getmetal/metal-sdk": "^1.0.12",
"@getmetal/metal-sdk": "^2.0.1",
"@opensearch-project/opensearch": "^2.2.0",
"@pinecone-database/pinecone": "^0.0.12",
"@prisma/client": "^4.11.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/src/retrievers/metal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const run = async () => {
const client = new MetalSDK(
process.env.METAL_API_KEY!,
process.env.METAL_CLIENT_ID!,
process.env.METAL_APP_ID
process.env.METAL_INDEX_ID
);
const retriever = new MetalRetriever({ client });

Expand Down
2 changes: 1 addition & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"@aws-sdk/client-lambda": "^3.310.0",
"@aws-sdk/client-s3": "^3.310.0",
"@faker-js/faker": "^7.6.0",
"@getmetal/metal-sdk": "^1.0.12",
"@getmetal/metal-sdk": "^2.0.1",
"@huggingface/inference": "^1.5.1",
"@jest/globals": "^29.5.0",
"@opensearch-project/opensearch": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion langchain/src/retrievers/tests/metal.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test("MetalRetriever", async () => {
const client = new MetalSDK(
process.env.METAL_API_KEY!,
process.env.METAL_CLIENT_ID!,
process.env.METAL_APP_ID
process.env.METAL_INDEX_ID
);
const retriever = new MetalRetriever({ client });

Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4600,12 +4600,12 @@ __metadata:
languageName: node
linkType: hard

"@getmetal/metal-sdk@npm:^1.0.12":
version: 1.0.12
resolution: "@getmetal/metal-sdk@npm:1.0.12"
"@getmetal/metal-sdk@npm:^2.0.1":
version: 2.0.1
resolution: "@getmetal/metal-sdk@npm:2.0.1"
dependencies:
axios: ^1.3.2
checksum: 46e3f7876b2aaad759c32a348df078c093fae89205e7050040f80300d04a0c7f1973562d1b9df74b453e2aad316fbfa5d88565e38b33c285d474cdb0356f18f3
checksum: 44e4da237ea22b280c9c019fde6bc5c3492527f94a384ad5d7b25900aa1dc235af439e28d44febf1686797d0692daae9a87ccef4c73d8710e38052e1a0898ad0
languageName: node
linkType: hard

Expand Down Expand Up @@ -13004,7 +13004,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "examples@workspace:examples"
dependencies:
"@getmetal/metal-sdk": ^1.0.12
"@getmetal/metal-sdk": ^2.0.1
"@opensearch-project/opensearch": ^2.2.0
"@pinecone-database/pinecone": ^0.0.12
"@prisma/client": ^4.11.0
Expand Down Expand Up @@ -17139,7 +17139,7 @@ __metadata:
"@aws-sdk/client-s3": ^3.310.0
"@dqbd/tiktoken": ^1.0.4
"@faker-js/faker": ^7.6.0
"@getmetal/metal-sdk": ^1.0.12
"@getmetal/metal-sdk": ^2.0.1
"@huggingface/inference": ^1.5.1
"@jest/globals": ^29.5.0
"@opensearch-project/opensearch": ^2.2.0
Expand Down

0 comments on commit 52e51a0

Please sign in to comment.