Skip to content

Commit

Permalink
Merge pull request #1499 from szajcz/chore/update-langchain-dependenc…
Browse files Browse the repository at this point in the history
…ies-of-rag-ai-plugins

chore: update langchain dependencies of rag-ai plugins
  • Loading branch information
Xantier authored Jul 26, 2024
2 parents c487e2b + 75a4e33 commit 15fd095
Show file tree
Hide file tree
Showing 10 changed files with 1,112 additions and 34 deletions.
11 changes: 11 additions & 0 deletions .changeset/great-humans-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@roadiehq/rag-ai-backend-retrieval-augmenter': patch
'@roadiehq/rag-ai-backend-embeddings-openai': patch
'@roadiehq/rag-ai-backend-embeddings-aws': patch
'@roadiehq/rag-ai-storage-pgvector': patch
'@roadiehq/rag-ai-backend': patch
'@roadiehq/rag-ai-node': patch
'backend': patch
---

Upgraded the langchain dependencies of the rag-ai plugins
5 changes: 3 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
"@backstage/plugin-scaffolder-backend": "^1.22.5",
"@backstage/plugin-techdocs-backend": "^1.10.4",
"@gitbeaker/node": "^35.1.0",
"@langchain/community": "^0.0.32",
"@langchain/openai": "^0.0.14",
"@langchain/community": "^0.2.20",
"@langchain/core": "^0.2.18",
"@langchain/openai": "^0.2.5",
"@octokit/rest": "^19.0.3",
"@roadiehq/backstage-plugin-argo-cd-backend": "3.0.3",
"@roadiehq/catalog-backend-module-aws": "^4.0.0",
Expand Down
5 changes: 3 additions & 2 deletions plugins/backend/rag-ai-backend-embeddings-aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
"@backstage/backend-common": "^0.21.7",
"@backstage/catalog-client": "^1.6.4",
"@backstage/config": "^1.2.0",
"@langchain/community": "^0.0.32",
"@langchain/core": "^0.1.2",
"@langchain/aws": "^0.0.5",
"@langchain/community": "^0.2.20",
"@langchain/core": "^0.2.18",
"@roadiehq/rag-ai-backend": "^0.3.2",
"@roadiehq/rag-ai-backend-retrieval-augmenter": "^0.3.3",
"@roadiehq/rag-ai-node": "^0.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
import { TokenManager } from '@backstage/backend-common';
import { BedrockEmbeddings } from '@langchain/community/embeddings/bedrock';
import { BedrockEmbeddings } from '@langchain/aws';
import { AwsCredentialIdentity, Provider } from '@aws-sdk/types';
import {
DefaultVectorAugmentationIndexer,
Expand Down
5 changes: 3 additions & 2 deletions plugins/backend/rag-ai-backend-embeddings-openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
"@backstage/backend-common": "^0.21.7",
"@backstage/catalog-client": "^1.6.4",
"@backstage/config": "^1.2.0",
"@langchain/core": "^0.1.2",
"@langchain/openai": "^0.0.14",
"@langchain/core": "^0.2.18",
"@langchain/community": "^0.2.20",
"@langchain/openai": "^0.2.5",
"@roadiehq/rag-ai-backend-retrieval-augmenter": "^0.3.3",
"@roadiehq/rag-ai-node": "^0.1.3",
"langchain": "^0.0.209",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@backstage/catalog-model": "^1.4.5",
"@backstage/config": "^1.2.0",
"@backstage/plugin-search-common": "^1.2.11",
"@langchain/core": "^0.1.2",
"@langchain/core": "^0.2.18",
"@roadiehq/rag-ai-node": "^0.1.3",
"langchain": "^0.1.21",
"node-fetch": "^2.6.7",
Expand Down
2 changes: 1 addition & 1 deletion plugins/backend/rag-ai-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@backstage/backend-common": "^0.21.7",
"@backstage/config": "^1.2.0",
"@langchain/core": "^0.1.2",
"@langchain/core": "^0.2.18",
"@roadiehq/rag-ai-node": "^0.1.3",
"@types/express": "*",
"@backstage/backend-plugin-api": "^0.6.17",
Expand Down
2 changes: 1 addition & 1 deletion plugins/backend/rag-ai-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@backstage/types": "^1.1.1",
"@langchain/core": "^0.1.2",
"@langchain/core": "^0.2.18",
"@backstage/backend-plugin-api": "^0.6.17"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/backend/rag-ai-storage-pgvector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@backstage/backend-common": "^0.21.7",
"@backstage/config": "^1.2.0",
"@langchain/core": "^0.1.1",
"@langchain/core": "^0.2.18",
"@roadiehq/rag-ai-node": "^0.1.3",
"knex": "^3.0.0",
"winston": "^3.2.1"
Expand Down
Loading

0 comments on commit 15fd095

Please sign in to comment.