@mastra/oracledb 0.4.0-alpha.0 → 0.4.0

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.
@@ -3,7 +3,7 @@ name: mastra-oracledb
3
3
  description: Documentation for @mastra/oracledb. Use when working with @mastra/oracledb APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/oracledb"
6
- version: "0.4.0-alpha.0"
6
+ version: "0.4.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.0-alpha.0",
2
+ "version": "0.4.0",
3
3
  "package": "@mastra/oracledb",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -345,6 +345,29 @@ await store.upsert({
345
345
 
346
346
  For detailed setup instructions and best practices, see the [official Elasticsearch documentation](https://www.elastic.co/docs/solutions/search/get-started).
347
347
 
348
+ **Azure AI Search**:
349
+
350
+ ```ts
351
+ import { AzureAISearchVector } from '@mastra/azure-ai-search'
352
+
353
+ const store = new AzureAISearchVector({
354
+ id: 'azure-search-vectors',
355
+ endpoint: process.env.AZURE_AI_SEARCH_ENDPOINT!,
356
+ credential: process.env.AZURE_AI_SEARCH_CREDENTIAL!,
357
+ })
358
+
359
+ await store.createIndex({
360
+ indexName: 'my-collection',
361
+ dimension: 1536,
362
+ })
363
+
364
+ await store.upsert({
365
+ indexName: 'my-collection',
366
+ vectors: embeddings,
367
+ metadata: chunks.map(chunk => ({ text: chunk.text })),
368
+ })
369
+ ```
370
+
348
371
  **Couchbase**:
349
372
 
350
373
  ```ts
@@ -626,6 +649,17 @@ Index names must:
626
649
  - Example: `myindex-` isn't valid (ends with hyphen)
627
650
  - Example: `MyIndex` isn't valid (contains uppercase letters)
628
651
 
652
+ **Azure AI Search**:
653
+
654
+ Index names must:
655
+
656
+ - Use only lowercase letters, numbers, dashes (`-`), and underscore (`_`) characters
657
+ - Not start or end with a dash
658
+ - Be between 2 and 128 characters long
659
+ - Example: `my-index-123` and `my_index` are valid
660
+ - Example: `MyIndex` isn't valid (contains uppercase letters)
661
+ - Example: `my-index-` isn't valid (ends with a dash)
662
+
629
663
  ### Upserting Embeddings
630
664
 
631
665
  After creating an index, you can store embeddings along with their basic metadata:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/oracledb",
3
- "version": "0.4.0-alpha.0",
3
+ "version": "0.4.0",
4
4
  "description": "Oracle Database provider for Mastra storage and vector retrieval",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,9 +32,9 @@
32
32
  "tsx": "^4.23.1",
33
33
  "typescript": "^7.0.2",
34
34
  "vitest": "4.1.11",
35
- "@internal/lint": "0.0.133",
36
- "@internal/types-builder": "0.0.108",
37
- "@mastra/core": "1.68.0-alpha.3"
35
+ "@internal/types-builder": "0.0.109",
36
+ "@mastra/core": "1.68.0",
37
+ "@internal/lint": "0.0.134"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@mastra/core": ">=1.68.0-0 <2.0.0-0"