Commit graph

43 commits

Author SHA1 Message Date
c62f714ec5 0.5.0 2025-06-02 12:24:02 -07:00
725610fbe4 feat: add Firestore vector search integration and noun type-based search enhancements
Introduced Firestore vector search integration using `@firebase/firestore-vector-search`. Added support for restricting searches by specific noun types to optimize performance and relevance. Updated `README.md` to document the new functionality and usage examples.
2025-06-02 12:23:11 -07:00
b10a32e8de feat: convert AugmentationResponse methods to use Promises, add search API
Refactored memory augmentation methods to return `Promise<AugmentationResponse>` for async handling. Introduced a new `search` method for vector similarity searches within the memory system.
2025-06-02 09:25:26 -07:00
9bdc9af8b0 0.4.1 2025-05-29 10:29:59 -07:00
95a72f4181 chore: reformat code in README.md for improved readability
Applied consistent indentation and line-breaking rules to code and text sections in `README.md`, ensuring better formatting and alignment for readability. No functional changes made.
2025-05-29 10:29:52 -07:00
f311b120c1 0.4.0 2025-05-29 09:52:43 -07:00
203b669203 chore: remove examples/externalPlugins.js and pluginLoader.ts, update imports to .js
Deleted `examples/externalPlugins.js` and `pluginLoader.ts` as they are no longer used. Updated all `.ts` imports to `.js` across the codebase. Added `MemberOf` to `VerbType` and filtered disabled augmentations in `executeAugmentationPipeline`. Updated documentation to reflect new augmentation registration process. Removed deprecated `allowImportingTsExtensions` from `tsconfig.json`.
2025-05-29 09:52:30 -07:00
7d2b695ea0 feat: update import statements to use TypeScript file extensions 2025-05-29 08:27:59 -07:00
61d86c98a7 0.3.6 2025-05-28 16:19:03 -07:00
c7987822e9 feat: enhance fallback logic for storage initialization in opfsStorage
Improved the fallback sequence for storage initialization by adding a secondary attempt to use FileSystemStorage in browser environments before defaulting to in-memory storage. Enhanced error handling and logging for unavailable storage options.
2025-05-28 16:18:59 -07:00
0a3b0c09b1 0.3.5 2025-05-28 16:02:25 -07:00
e42c6b7302 feat: improve error handling and storage status reporting in BrainyData
Updated error messages for initialization failures to use "BrainyData" for clarity. Enhanced `getStorageStatus` to handle storage adapters without the `getStorageStatus` method, ensuring proper reporting of storage type, usage, and adapter details.
2025-05-28 16:02:20 -07:00
426f01cea0 0.3.4 2025-05-28 15:39:34 -07:00
b031a40b1c feat: add external plugin loader and examples for Brainy
Introduced `pluginLoader.ts` to enable loading and configuring augmentation plugins from external packages. Added `examples/externalPlugins.js` to demonstrate usage. Enhanced storage status reporting in `opfsStorage` and `BrainyData` with detailed storage capacity and usage methods. Updated README with an external plugin usage guide.
2025-05-28 15:39:14 -07:00
767c349f63 0.3.3 2025-05-28 11:48:27 -07:00
aa4a76352f feat: refactor augmentation interface exports for improved structure
Replaced type aliases with interface extensions to enhance type compatibility and readability. Reorganized exports in `index.ts` to streamline imports.
2025-05-28 11:48:24 -07:00
6b88b53056 0.3.2 2025-05-28 11:37:32 -07:00
ac5955a922 feat: add persistent storage support for OPFS
Introduced an optional `requestPersistentStorage` flag to enable persistent storage permission requests in the browser. Updated `OPFSStorage` to include methods for requesting and checking persistent storage status, and modified `createStorage` to handle the new flag.
2025-05-28 11:37:28 -07:00
5f4e6ccc70 0.3.1 2025-05-28 11:31:38 -07:00
fc9b8b7571 feat: add direct exports for graph types
Introduced direct exports for `GraphNoun`, `GraphVerb`, `EmbeddedGraphVerb`, and related graph types (`Person`, `Place`, `Thing`, etc.) to streamline imports and improve type accessibility.
2025-05-28 11:31:10 -07:00
110e771b58 0.3.0 2025-05-28 11:03:53 -07:00
0d5060aee2 feat: add direct exports for augmentation interfaces
Introduced direct exports for several augmentation interfaces (e.g., ISenseAugmentation, ICognitionAugmentation) to simplify imports and enhance type accessibility. Updated type imports and exports in relevant files.
2025-05-28 11:03:32 -07:00
cf4673f259 0.2.6 2025-05-28 10:37:59 -07:00
25986720d3 docs: add augmentation types import section to README and update type definitions
Added a new README section detailing how to import and use augmentation interfaces without pulling the entire library. Updated `package.json` exports to enable direct imports for augmentation types. Included example demonstrating custom augmentation implementation and usage.
2025-05-28 10:37:55 -07:00
fce4be4333 0.2.5 2025-05-28 10:19:57 -07:00
be0cd47f21 docs: add import-graphTypes.js example file to demonstrate selective graphTypes imports
Added a new example file `import-graphTypes.js` to showcase how to selectively import the `graphTypes` module, highlighting usage of `GraphNoun`, `GraphVerb`, `NounType`, and `VerbType`.
2025-05-28 10:19:26 -07:00
ce9c5e2522 docs: add separate graph type import section to README and update type definitions
Introduced a new README section explaining how to import graph types individually to enable tree shaking. Updated `package.json` exports to support direct graph type imports. Enhanced `GraphNoun` structure by adding optional `label` and `embeddedVerbs` properties while simplifying the `CreatorMetadata` interface.
2025-05-28 09:56:24 -07:00
d86962100c 0.2.4 2025-05-27 17:11:08 -07:00
1bcfaa96c8 refactor: dynamically import Node.js modules in file system storage adapter
Refactored `fileSystemStorage` to dynamically import `fs` and `path` modules, improving compatibility with various environments. Updated initialization logic to set paths post-import. Added error handling for failed imports and enhanced type annotations for better maintainability.
2025-05-27 17:10:56 -07:00
f73d3b0c97 docs: update README to reflect Graph and Vector database upgrade
Enhanced README to clarify the transition from a vector database to a combined Graph and Vector database, detailing support for graph entities, relationships, and full capabilities of the new data model. Updated examples and documentation accordingly.
2025-05-27 17:06:17 -07:00
cafecc5a98 0.2.3 2025-05-27 15:42:49 -07:00
7fe32d9e8a chore: simplify TensorFlow.js imports and bump package version to 0.2.2
Streamlined TensorFlow.js and Universal Sentence Encoder imports by removing unnecessary explicit file paths. Updated package.json version to 0.2.2.
2025-05-27 15:42:38 -07:00
b499b27130 0.2.1 2025-05-27 15:11:21 -07:00
d77b2bf8fe feat: enhance embedding functionality and improve TensorFlow.js integration
Enhanced embedding functionality by introducing `createTensorFlowEmbeddingFunction` and `createSimpleEmbeddingFunction` for flexible text vectorization. Updated TensorFlow.js dependencies to be automatically included with the package. Added detailed examples and documentation in `README.md`. Improved error handling and refactored default embedding function implementation. Updated `package.json` dependencies.
2025-05-27 15:11:12 -07:00
3dc8f3ee20 0.2.0 2025-05-27 13:58:57 -07:00
5566ddfb09 chore: remove example files and release configuration
Deleted augmentation pipeline examples and `.releaserc.json`, streamlining the repository by eliminating redundant example implementations and release automation files.
2025-05-27 13:58:49 -07:00
a22fd7de77 feat: add memory and WebSocket augmentation examples with configuration files 2025-05-27 13:13:04 -07:00
022680a2f5 feat: implement augmentation type system and release automation 2025-05-27 13:12:53 -07:00
d2ddbd2613 Add augmentation pipeline and memory augmentation documentation
Introduced an augmentation event pipeline supporting multiple execution modes (e.g., SEQUENTIAL, PARALLEL). Added new Memory Augmentation type for versatile data storage/retrieval (e.g., fileSystem, in-memory, Firestore). Updated `README.md` with pipeline usage, examples, and augmentations reorganization. Included new demo files for augmentation examples.
2025-05-27 10:08:01 -07:00
de0531530f Remove .idea directory from Git tracking 2025-05-23 11:34:14 -07:00
99bc4990bd Set package.json private flag to false for npm publication
Changed `"private"` to `false` in package.json to allow publishing the package to npm. The `"access": "restricted"` setting ensures that access remains limited to @soulcraft organization members. Updated README to reflect the new configuration.
2025-05-23 11:30:19 -07:00
7638506ffa Update package scope to @soulcraft and configure as private
Changed package name and imports to use the @soulcraft scope. Updated `README.md` to reflect the use of a private npm package and added publishing/installing instructions. Configured `package.json` with `private: true` and restricted access for publishing. Updated demo link to the correct GitHub repository.
2025-05-23 11:08:02 -07:00
49480e694c Initial commit of Brainy vector database v0.1.0 2025-05-23 10:55:20 -07:00