langchain 0.2.3-rc.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/util/sql_utils.cjs
CHANGED
|
@@ -63,7 +63,8 @@ const getTableAndColumnsName = async (appDataSource) => {
|
|
|
63
63
|
const rep = await appDataSource.query(sql);
|
|
64
64
|
return formatToSqlTable(rep);
|
|
65
65
|
}
|
|
66
|
-
if (appDataSource.options.type === "sqlite"
|
|
66
|
+
if (appDataSource.options.type === "sqlite" ||
|
|
67
|
+
appDataSource.options.type === "sqljs") {
|
|
67
68
|
sql =
|
|
68
69
|
"SELECT \n" +
|
|
69
70
|
" m.name AS table_name,\n" +
|
package/dist/util/sql_utils.js
CHANGED
|
@@ -57,7 +57,8 @@ export const getTableAndColumnsName = async (appDataSource) => {
|
|
|
57
57
|
const rep = await appDataSource.query(sql);
|
|
58
58
|
return formatToSqlTable(rep);
|
|
59
59
|
}
|
|
60
|
-
if (appDataSource.options.type === "sqlite"
|
|
60
|
+
if (appDataSource.options.type === "sqlite" ||
|
|
61
|
+
appDataSource.options.type === "sqljs") {
|
|
61
62
|
sql =
|
|
62
63
|
"SELECT \n" +
|
|
63
64
|
" m.name AS table_name,\n" +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.2.3
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -600,7 +600,6 @@
|
|
|
600
600
|
"@faker-js/faker": "^7.6.0",
|
|
601
601
|
"@gomomento/sdk": "^1.51.1",
|
|
602
602
|
"@gomomento/sdk-core": "^1.51.1",
|
|
603
|
-
"@google-ai/generativelanguage": "^2.5.0",
|
|
604
603
|
"@jest/globals": "^29.5.0",
|
|
605
604
|
"@langchain/cohere": "^0.0.8",
|
|
606
605
|
"@langchain/scripts": "~0.0.14",
|
|
@@ -687,7 +686,6 @@
|
|
|
687
686
|
"@gomomento/sdk": "^1.51.1",
|
|
688
687
|
"@gomomento/sdk-core": "^1.51.1",
|
|
689
688
|
"@gomomento/sdk-web": "^1.51.1",
|
|
690
|
-
"@google-ai/generativelanguage": "*",
|
|
691
689
|
"@mendable/firecrawl-js": "^0.0.13",
|
|
692
690
|
"@notionhq/client": "^2.2.10",
|
|
693
691
|
"@pinecone-database/pinecone": "*",
|
|
@@ -757,9 +755,6 @@
|
|
|
757
755
|
"@gomomento/sdk-web": {
|
|
758
756
|
"optional": true
|
|
759
757
|
},
|
|
760
|
-
"@google-ai/generativelanguage": {
|
|
761
|
-
"optional": true
|
|
762
|
-
},
|
|
763
758
|
"@mendable/firecrawl-js": {
|
|
764
759
|
"optional": true
|
|
765
760
|
},
|