Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community[minor]: Remove Dria retriever #7374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions docs/core_docs/docs/integrations/retrievers/dria.mdx

This file was deleted.

14 changes: 0 additions & 14 deletions examples/src/retrievers/dria.ts

This file was deleted.

4 changes: 0 additions & 4 deletions libs/langchain-community/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,6 @@ retrievers/databerry.cjs
retrievers/databerry.js
retrievers/databerry.d.ts
retrievers/databerry.d.cts
retrievers/dria.cjs
retrievers/dria.js
retrievers/dria.d.ts
retrievers/dria.d.cts
retrievers/metal.cjs
retrievers/metal.js
retrievers/metal.d.ts
Expand Down
2 changes: 0 additions & 2 deletions libs/langchain-community/langchain.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export const config = {
"retrievers/bm25": "retrievers/bm25",
"retrievers/chaindesk": "retrievers/chaindesk",
"retrievers/databerry": "retrievers/databerry",
"retrievers/dria": "retrievers/dria",
"retrievers/metal": "retrievers/metal",
"retrievers/remote": "retrievers/remote/index",
"retrievers/supabase": "retrievers/supabase",
Expand Down Expand Up @@ -437,7 +436,6 @@ export const config = {
"chat_models/zhipuai",
"retrievers/amazon_kendra",
"retrievers/amazon_knowledge_base",
"retrievers/dria",
"retrievers/metal",
"retrievers/supabase",
"retrievers/vectara_summary",
Expand Down
18 changes: 0 additions & 18 deletions libs/langchain-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@
"discord.js": "^14.14.1",
"dotenv": "^16.0.3",
"dpdm": "^3.12.0",
"dria": "^0.0.3",
"duck-duck-scrape": "^2.2.5",
"epub2": "^3.0.1",
"eslint": "^8.33.0",
Expand Down Expand Up @@ -298,7 +297,6 @@
"crypto-js": "^4.2.0",
"d3-dsv": "^2.0.0",
"discord.js": "^14.14.1",
"dria": "^0.0.3",
"duck-duck-scrape": "^2.2.5",
"epub2": "^3.0.1",
"faiss-node": "^0.5.1",
Expand Down Expand Up @@ -572,9 +570,6 @@
"discord.js": {
"optional": true
},
"dria": {
"optional": true
},
"duck-duck-scrape": {
"optional": true
},
Expand Down Expand Up @@ -2152,15 +2147,6 @@
"import": "./retrievers/databerry.js",
"require": "./retrievers/databerry.cjs"
},
"./retrievers/dria": {
"types": {
"import": "./retrievers/dria.d.ts",
"require": "./retrievers/dria.d.cts",
"default": "./retrievers/dria.d.ts"
},
"import": "./retrievers/dria.js",
"require": "./retrievers/dria.cjs"
},
"./retrievers/metal": {
"types": {
"import": "./retrievers/metal.d.ts",
Expand Down Expand Up @@ -3786,10 +3772,6 @@
"retrievers/databerry.js",
"retrievers/databerry.d.ts",
"retrievers/databerry.d.cts",
"retrievers/dria.cjs",
"retrievers/dria.js",
"retrievers/dria.d.ts",
"retrievers/dria.d.cts",
"retrievers/metal.cjs",
"retrievers/metal.js",
"retrievers/metal.d.ts",
Expand Down
1 change: 0 additions & 1 deletion libs/langchain-community/src/load/import_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export const optionalImportEntrypoints: string[] = [
"langchain_community/callbacks/handlers/upstash_ratelimit",
"langchain_community/retrievers/amazon_kendra",
"langchain_community/retrievers/amazon_knowledge_base",
"langchain_community/retrievers/dria",
"langchain_community/retrievers/metal",
"langchain_community/retrievers/supabase",
"langchain_community/retrievers/vectara_summary",
Expand Down
1 change: 0 additions & 1 deletion libs/langchain-community/src/load/import_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export interface SecretMap {
CLOUDFLARE_API_TOKEN?: string;
COHERE_API_KEY?: string;
DATABERRY_API_KEY?: string;
DRIA_API_KEY?: string;
FIREWORKS_API_KEY?: string;
FRIENDLI_TEAM?: string;
FRIENDLI_TOKEN?: string;
Expand Down
122 changes: 0 additions & 122 deletions libs/langchain-community/src/retrievers/dria.ts

This file was deleted.

16 changes: 0 additions & 16 deletions libs/langchain-community/src/retrievers/tests/dria.int.test.ts

This file was deleted.

14 changes: 0 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11881,7 +11881,6 @@ __metadata:
discord.js: ^14.14.1
dotenv: ^16.0.3
dpdm: ^3.12.0
dria: ^0.0.3
duck-duck-scrape: ^2.2.5
epub2: ^3.0.1
eslint: ^8.33.0
Expand Down Expand Up @@ -12031,7 +12030,6 @@ __metadata:
crypto-js: ^4.2.0
d3-dsv: ^2.0.0
discord.js: ^14.14.1
dria: ^0.0.3
duck-duck-scrape: ^2.2.5
epub2: ^3.0.1
faiss-node: ^0.5.1
Expand Down Expand Up @@ -12229,8 +12227,6 @@ __metadata:
optional: true
discord.js:
optional: true
dria:
optional: true
duck-duck-scrape:
optional: true
epub2:
Expand Down Expand Up @@ -25950,16 +25946,6 @@ __metadata:
languageName: node
linkType: hard

"dria@npm:^0.0.3":
version: 0.0.3
resolution: "dria@npm:0.0.3"
dependencies:
axios: ^1.6.5
zod: ^3.22.4
checksum: 69d66479cb015e87425fba7f1741e4d895b4f43844e6b8897d3e7fe38e579097f2c4673d534141419d15a72866adf4db12acb9b59b42681ef2c4ee2d301b9267
languageName: node
linkType: hard

"duck-duck-scrape@npm:^2.2.5":
version: 2.2.5
resolution: "duck-duck-scrape@npm:2.2.5"
Expand Down