Skip to content

Commit

Permalink
Run build
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Jun 9, 2023
1 parent f6023ec commit 600d117
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 20 deletions.
9 changes: 6 additions & 3 deletions langchain/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ memory/zep.d.ts
document.cjs
document.js
document.d.ts
docstore.cjs
docstore.js
docstore.d.ts
document_loaders.cjs
document_loaders.js
document_loaders.d.ts
Expand Down Expand Up @@ -340,6 +337,12 @@ cache/momento.d.ts
cache/redis.cjs
cache/redis.js
cache/redis.d.ts
stores/doc/in_memory.cjs
stores/doc/in_memory.js
stores/doc/in_memory.d.ts
stores/doc/gcs.cjs
stores/doc/gcs.js
stores/doc/gcs.d.ts
stores/file/in_memory.cjs
stores/file/in_memory.js
stores/file/in_memory.d.ts
Expand Down
24 changes: 16 additions & 8 deletions langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@
"document.cjs",
"document.js",
"document.d.ts",
"docstore.cjs",
"docstore.js",
"docstore.d.ts",
"document_loaders.cjs",
"document_loaders.js",
"document_loaders.d.ts",
Expand Down Expand Up @@ -352,6 +349,12 @@
"cache/redis.cjs",
"cache/redis.js",
"cache/redis.d.ts",
"stores/doc/in_memory.cjs",
"stores/doc/in_memory.js",
"stores/doc/in_memory.d.ts",
"stores/doc/gcs.cjs",
"stores/doc/gcs.js",
"stores/doc/gcs.d.ts",
"stores/file/in_memory.cjs",
"stores/file/in_memory.js",
"stores/file/in_memory.d.ts",
Expand Down Expand Up @@ -1006,11 +1009,6 @@
"import": "./document.js",
"require": "./document.cjs"
},
"./docstore": {
"types": "./docstore.d.ts",
"import": "./docstore.js",
"require": "./docstore.cjs"
},
"./document_loaders": {
"node": {
"types": "./document_loaders.d.ts",
Expand Down Expand Up @@ -1307,6 +1305,16 @@
"import": "./cache/redis.js",
"require": "./cache/redis.cjs"
},
"./stores/doc/in_memory": {
"types": "./stores/doc/in_memory.d.ts",
"import": "./stores/doc/in_memory.js",
"require": "./stores/doc/in_memory.cjs"
},
"./stores/doc/gcs": {
"types": "./stores/doc/gcs.d.ts",
"import": "./stores/doc/gcs.js",
"require": "./stores/doc/gcs.cjs"
},
"./stores/file/in_memory": {
"types": "./stores/file/in_memory.d.ts",
"import": "./stores/file/in_memory.js",
Expand Down
2 changes: 1 addition & 1 deletion langchain/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ const requiresOptionalDependency = [
"tools/calculator",
"tools/webbrowser",
"chains/load",
"docstore/googlecloudstorage",
"embeddings/cohere",
"embeddings/googlevertexai",
"embeddings/tensorflow",
Expand Down Expand Up @@ -246,6 +245,7 @@ const requiresOptionalDependency = [
"chains/query_constructor/ir",
"cache/momento",
"cache/redis",
"stores/doc/gcs",
"stores/file/node",
"stores/message/dynamodb",
"stores/message/momento",
Expand Down
3 changes: 2 additions & 1 deletion langchain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"src/memory/index.ts",
"src/memory/zep.ts",
"src/document.ts",
"src/docstore/index.ts",
"src/document_loaders/base.ts",
"src/document_loaders/web/apify_dataset.ts",
"src/document_loaders/web/cheerio.ts",
Expand Down Expand Up @@ -140,6 +139,8 @@
"src/cache/index.ts",
"src/cache/momento.ts",
"src/cache/redis.ts",
"src/stores/doc/in_memory.ts",
"src/stores/doc/gcs.ts",
"src/stores/file/in_memory.ts",
"src/stores/file/node.ts",
"src/stores/message/dynamodb.ts",
Expand Down
2 changes: 1 addition & 1 deletion test-exports-cf/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export * from "langchain/vectorstores/prisma";
export * from "langchain/text_splitter";
export * from "langchain/memory";
export * from "langchain/document";
export * from "langchain/docstore";
export * from "langchain/document_loaders/base";
export * from "langchain/chat_models/base";
export * from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ export * from "langchain/retrievers/document_compressors/chain_extract";
export * from "langchain/retrievers/hyde";
export * from "langchain/retrievers/vespa";
export * from "langchain/cache";
export * from "langchain/stores/doc/in_memory";
export * from "langchain/stores/file/in_memory";
export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
Expand Down
2 changes: 1 addition & 1 deletion test-exports-cjs/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const vectorstores_prisma = require("langchain/vectorstores/prisma");
const text_splitter = require("langchain/text_splitter");
const memory = require("langchain/memory");
const document = require("langchain/document");
const docstore = require("langchain/docstore");
const document_loaders_base = require("langchain/document_loaders/base");
const chat_models_base = require("langchain/chat_models/base");
const chat_models_openai = require("langchain/chat_models/openai");
Expand All @@ -34,6 +33,7 @@ const retrievers_document_compressors_chain_extract = require("langchain/retriev
const retrievers_hyde = require("langchain/retrievers/hyde");
const retrievers_vespa = require("langchain/retrievers/vespa");
const cache = require("langchain/cache");
const stores_doc_in_memory = require("langchain/stores/doc/in_memory");
const stores_file_in_memory = require("langchain/stores/file/in_memory");
const experimental_autogpt = require("langchain/experimental/autogpt");
const experimental_babyagi = require("langchain/experimental/babyagi");
Expand Down
2 changes: 1 addition & 1 deletion test-exports-cra/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export * from "langchain/vectorstores/prisma";
export * from "langchain/text_splitter";
export * from "langchain/memory";
export * from "langchain/document";
export * from "langchain/docstore";
export * from "langchain/document_loaders/base";
export * from "langchain/chat_models/base";
export * from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ export * from "langchain/retrievers/document_compressors/chain_extract";
export * from "langchain/retrievers/hyde";
export * from "langchain/retrievers/vespa";
export * from "langchain/cache";
export * from "langchain/stores/doc/in_memory";
export * from "langchain/stores/file/in_memory";
export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
Expand Down
2 changes: 1 addition & 1 deletion test-exports-esbuild/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import * as vectorstores_prisma from "langchain/vectorstores/prisma";
import * as text_splitter from "langchain/text_splitter";
import * as memory from "langchain/memory";
import * as document from "langchain/document";
import * as docstore from "langchain/docstore";
import * as document_loaders_base from "langchain/document_loaders/base";
import * as chat_models_base from "langchain/chat_models/base";
import * as chat_models_openai from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ import * as retrievers_document_compressors_chain_extract from "langchain/retrie
import * as retrievers_hyde from "langchain/retrievers/hyde";
import * as retrievers_vespa from "langchain/retrievers/vespa";
import * as cache from "langchain/cache";
import * as stores_doc_in_memory from "langchain/stores/doc/in_memory";
import * as stores_file_in_memory from "langchain/stores/file/in_memory";
import * as experimental_autogpt from "langchain/experimental/autogpt";
import * as experimental_babyagi from "langchain/experimental/babyagi";
Expand Down
2 changes: 1 addition & 1 deletion test-exports-esm/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import * as vectorstores_prisma from "langchain/vectorstores/prisma";
import * as text_splitter from "langchain/text_splitter";
import * as memory from "langchain/memory";
import * as document from "langchain/document";
import * as docstore from "langchain/docstore";
import * as document_loaders_base from "langchain/document_loaders/base";
import * as chat_models_base from "langchain/chat_models/base";
import * as chat_models_openai from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ import * as retrievers_document_compressors_chain_extract from "langchain/retrie
import * as retrievers_hyde from "langchain/retrievers/hyde";
import * as retrievers_vespa from "langchain/retrievers/vespa";
import * as cache from "langchain/cache";
import * as stores_doc_in_memory from "langchain/stores/doc/in_memory";
import * as stores_file_in_memory from "langchain/stores/file/in_memory";
import * as experimental_autogpt from "langchain/experimental/autogpt";
import * as experimental_babyagi from "langchain/experimental/babyagi";
Expand Down
2 changes: 1 addition & 1 deletion test-exports-vercel/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export * from "langchain/vectorstores/prisma";
export * from "langchain/text_splitter";
export * from "langchain/memory";
export * from "langchain/document";
export * from "langchain/docstore";
export * from "langchain/document_loaders/base";
export * from "langchain/chat_models/base";
export * from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ export * from "langchain/retrievers/document_compressors/chain_extract";
export * from "langchain/retrievers/hyde";
export * from "langchain/retrievers/vespa";
export * from "langchain/cache";
export * from "langchain/stores/doc/in_memory";
export * from "langchain/stores/file/in_memory";
export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
Expand Down
2 changes: 1 addition & 1 deletion test-exports-vite/src/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export * from "langchain/vectorstores/prisma";
export * from "langchain/text_splitter";
export * from "langchain/memory";
export * from "langchain/document";
export * from "langchain/docstore";
export * from "langchain/document_loaders/base";
export * from "langchain/chat_models/base";
export * from "langchain/chat_models/openai";
Expand All @@ -34,6 +33,7 @@ export * from "langchain/retrievers/document_compressors/chain_extract";
export * from "langchain/retrievers/hyde";
export * from "langchain/retrievers/vespa";
export * from "langchain/cache";
export * from "langchain/stores/doc/in_memory";
export * from "langchain/stores/file/in_memory";
export * from "langchain/experimental/autogpt";
export * from "langchain/experimental/babyagi";
Expand Down

0 comments on commit 600d117

Please sign in to comment.