@sap-ux/fiori-docs-embeddings 1.0.0 → 1.1.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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ https://www.npmjs.com/package/@sap/ux-ui5-tooling (@sap/ux-ui5-tooling documenta
27
27
 
28
28
  - Parses markdown, JSON, TypeScript, and other file types
29
29
  - Generates AI-powered vector embeddings using transformers
30
- - Stores embeddings in a local LanceDB vector database
30
+ - Stores embeddings in a flat binary vector store (`embeddings.bin` + `records.jsonl`)
31
31
  - Provides tools for semantic and keyword search across documentation
32
32
 
33
33
  ## Installation
@@ -88,7 +88,7 @@ Generated data is organized as:
88
88
  ```
89
89
  data/
90
90
  ├── docs/ # Parsed documentation files
91
- ├── embeddings/ # Vector database (LanceDB)
91
+ ├── embeddings/ # Flat binary vector store (embeddings.bin, records.jsonl, metadata.json)
92
92
  └── search/ # Search indexes
93
93
  ```
94
94
 
@@ -96,8 +96,8 @@ data/
96
96
 
97
97
  - **Multi-source indexing** - Supports GitHub repositories and JSON APIs
98
98
  - **File type support** - Markdown, JSON, TypeScript, JavaScript, XML, YAML, and more
99
- - **Vector embeddings** - Uses sentence-transformers/all-MiniLM-L6-v2 model
100
- - **Local storage** - All data stored locally with LanceDB
99
+ - **Vector embeddings** - Uses `@huggingface/transformers` with the `Xenova/all-MiniLM-L6-v2` model (q8 quantized)
100
+ - **Local storage** - All data stored locally as a flat binary vector store (no native database dependency)
101
101
  - **Caching** - Intelligent caching to avoid unnecessary API calls
102
102
  - **Chunking** - Smart document chunking for optimal embedding generation
103
103
 
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "1.0.0",
3
- "createdAt": "2026-05-30T22:02:23.299Z",
2
+ "version": "2.0.0",
3
+ "createdAt": "2026-06-05T11:24:45.777Z",
4
4
  "model": "Xenova/all-MiniLM-L6-v2",
5
5
  "dimensions": 384,
6
- "totalVectors": 748,
7
- "totalDocuments": 748,
6
+ "totalVectors": 749,
7
+ "totalDocuments": 749,
8
8
  "chunkSize": 2000,
9
9
  "chunkOverlap": 100
10
10
  }