Conversation
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
Signed-off-by: jakmro <kubamroz124@gmail.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades the library to version 1.4.0, introducing significant new functionality including a vector index system for embeddings search, tokenization/scoring capabilities, and enhanced audio transcription support. The update also includes dependency upgrades and API enhancements.
Key Changes:
- Added CactusIndex class with vector database functionality for storing and querying embeddings with CRUD operations
- Added tokenize() and scoreWindow() methods to CactusLM for token manipulation and perplexity scoring
- Enhanced audio transcription to accept both file paths and raw PCM audio samples (array of numbers)
- Added normalize parameter to embedding methods and forceTools option for tool calling
- Updated react-native-nitro-modules dependency to 0.31.10
- Enhanced device registration with pro key support
Reviewed changes
Copilot reviewed 63 out of 145 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json, yarn.lock | Version bump to 1.4.0 and dependency updates |
| src/types/*.ts | New type definitions for CactusIndex and enhanced APIs |
| src/native/CactusIndex.ts | New native wrapper for vector index operations |
| src/native/Cactus.ts | Added tokenize/scoreWindow methods, enhanced transcribe and embed |
| src/classes/CactusIndex.ts | High-level class for vector index management |
| src/classes/CactusLM.ts, CactusSTT.ts | Enhanced with new methods and local file path support |
| src/hooks/* | New useCactusIndex hook and enhanced existing hooks |
| src/index.tsx | Exports for new CactusIndex functionality |
| cpp/HybridCactusIndex.* | C++ implementation of vector index bridge |
| cpp/HybridCactus.* | Enhanced with new methods and parameter handling |
| ios/HybridCactusFileSystem.swift | Added getIndexPath method for index storage |
| android/* | Android-specific implementations and file system updates |
| example/src/* | New IndexScreen demo and updated examples |
| README.md | Comprehensive documentation for all new features |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.