@vectorstores/azure 0.1.4 → 0.1.5
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/index.cjs +3 -4
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.edge-light.d.ts +2 -3
- package/dist/index.edge-light.js +3 -4
- package/dist/index.js +3 -4
- package/dist/storage.cjs +1 -1
- package/dist/storage.edge-light.js +1 -1
- package/dist/storage.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -365,11 +365,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
365
365
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
366
366
|
"data/paul_graham/",
|
|
367
367
|
);
|
|
368
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
369
368
|
|
|
370
|
-
// Create index from documents with the specified
|
|
369
|
+
// Create index from documents with the specified vector store
|
|
371
370
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
372
|
-
|
|
371
|
+
vectorStore,
|
|
373
372
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
374
373
|
});
|
|
375
374
|
|
|
@@ -1133,7 +1132,7 @@ console.log({ response });
|
|
|
1133
1132
|
}
|
|
1134
1133
|
}
|
|
1135
1134
|
|
|
1136
|
-
var version = "0.1.
|
|
1135
|
+
var version = "0.1.5";
|
|
1137
1136
|
var pkg = {
|
|
1138
1137
|
version: version};
|
|
1139
1138
|
|
package/dist/index.d.cts
CHANGED
|
@@ -247,11 +247,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
247
247
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
248
248
|
"data/paul_graham/",
|
|
249
249
|
);
|
|
250
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
251
250
|
|
|
252
|
-
// Create index from documents with the specified
|
|
251
|
+
// Create index from documents with the specified vector store
|
|
253
252
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
254
|
-
|
|
253
|
+
vectorStore,
|
|
255
254
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
256
255
|
});
|
|
257
256
|
|
package/dist/index.d.ts
CHANGED
|
@@ -247,11 +247,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
247
247
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
248
248
|
"data/paul_graham/",
|
|
249
249
|
);
|
|
250
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
251
250
|
|
|
252
|
-
// Create index from documents with the specified
|
|
251
|
+
// Create index from documents with the specified vector store
|
|
253
252
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
254
|
-
|
|
253
|
+
vectorStore,
|
|
255
254
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
256
255
|
});
|
|
257
256
|
|
|
@@ -247,11 +247,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
247
247
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
248
248
|
"data/paul_graham/",
|
|
249
249
|
);
|
|
250
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
251
250
|
|
|
252
|
-
// Create index from documents with the specified
|
|
251
|
+
// Create index from documents with the specified vector store
|
|
253
252
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
254
|
-
|
|
253
|
+
vectorStore,
|
|
255
254
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
256
255
|
});
|
|
257
256
|
|
package/dist/index.edge-light.js
CHANGED
|
@@ -363,11 +363,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
363
363
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
364
364
|
"data/paul_graham/",
|
|
365
365
|
);
|
|
366
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
367
366
|
|
|
368
|
-
// Create index from documents with the specified
|
|
367
|
+
// Create index from documents with the specified vector store
|
|
369
368
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
370
|
-
|
|
369
|
+
vectorStore,
|
|
371
370
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
372
371
|
});
|
|
373
372
|
|
|
@@ -1131,7 +1130,7 @@ console.log({ response });
|
|
|
1131
1130
|
}
|
|
1132
1131
|
}
|
|
1133
1132
|
|
|
1134
|
-
var version = "0.1.
|
|
1133
|
+
var version = "0.1.5";
|
|
1135
1134
|
var pkg = {
|
|
1136
1135
|
version: version};
|
|
1137
1136
|
|
package/dist/index.js
CHANGED
|
@@ -363,11 +363,10 @@ const vectorStore = new AzureAISearchVectorStore({
|
|
|
363
363
|
const documents = await new SimpleDirectoryReader().loadData(
|
|
364
364
|
"data/paul_graham/",
|
|
365
365
|
);
|
|
366
|
-
const storageContext = await storageContextFromDefaults({ vectorStore });
|
|
367
366
|
|
|
368
|
-
// Create index from documents with the specified
|
|
367
|
+
// Create index from documents with the specified vector store
|
|
369
368
|
const index = await VectorStoreIndex.fromDocuments(documents, {
|
|
370
|
-
|
|
369
|
+
vectorStore,
|
|
371
370
|
docStoreStrategy: DocStoreStrategy.UPSERTS,
|
|
372
371
|
});
|
|
373
372
|
|
|
@@ -1131,7 +1130,7 @@ console.log({ response });
|
|
|
1131
1130
|
}
|
|
1132
1131
|
}
|
|
1133
1132
|
|
|
1134
|
-
var version = "0.1.
|
|
1133
|
+
var version = "0.1.5";
|
|
1135
1134
|
var pkg = {
|
|
1136
1135
|
version: version};
|
|
1137
1136
|
|
package/dist/storage.cjs
CHANGED
package/dist/storage.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectorstores/azure",
|
|
3
3
|
"description": "Azure Storage for vectorstores",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@types/node": "^24.0.13",
|
|
56
56
|
"dotenv": "^17.2.0",
|
|
57
57
|
"vitest": "^2.1.5",
|
|
58
|
-
"@vectorstores/core": "0.1.
|
|
58
|
+
"@vectorstores/core": "0.1.5",
|
|
59
59
|
"@vectorstores/env": "0.1.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@vectorstores/core": "0.1.
|
|
62
|
+
"@vectorstores/core": "0.1.5",
|
|
63
63
|
"@vectorstores/env": "0.1.0"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|