Skip to content

V0.2.0 rc3#13

Merged
jakmro merged 4 commits intomainfrom
v0.2.0-rc3
Oct 3, 2025
Merged

V0.2.0 rc3#13
jakmro merged 4 commits intomainfrom
v0.2.0-rc3

Conversation

@jakmro
Copy link
Contributor

@jakmro jakmro commented Oct 3, 2025

No description provided.

@jakmro jakmro requested a review from Copilot October 3, 2025 14:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements major API simplification in v0.2.0-rc3 by transforming all batch operations into single-item operations. The changes maintain consistency across vector stores, RAG operations, and tests.

  • Converts batch document operations to single-item operations across all interfaces
  • Simplifies query results from nested arrays to single arrays
  • Updates all tests and examples to use the new single-item API
  • Bumps version to 0.2.0-rc3 across all packages

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/vector_stores/memoryVectorStore.ts Major API simplification - converts batch operations to single-item operations and implements embedding dimension validation
src/utils/vectorMath.ts Simplifies documentation comments to be more concise
src/types/common.ts Updates type definitions with cleaner documentation and makes document field optional in GetResult
src/rag/rag.ts Updates RAG class to use new single-item vector store API and simplifies parameter handling
src/interfaces/vectorStore.ts Updates VectorStore interface to use single-item operations instead of batch operations
src/hooks/rag.ts Updates React hook to use new single-item API with simplified parameter handling
src/tests/rag.integration.test.ts Updates integration tests to use new single-item API
src/tests/memoryVectorStore.test.ts Updates unit tests to use new single-item API and adds validation for new error conditions
packages/op-sqlite/src/wrappers/op-sqlite.ts Converts OPSQLiteVectorStore to use single-item operations and simplifies database queries
packages/op-sqlite/package.json Updates version to 0.2.0-rc3
packages/executorch/src/wrappers/llms.ts Updates documentation and adds isLoaded state management
packages/executorch/src/wrappers/embeddings.ts Updates documentation and adds isLoaded state management
packages/executorch/package.json Updates version to 0.2.0-rc3
package.json Updates main package version to 0.2.0-rc3
example/src/App.tsx Updates example to use OPSQLiteVectorStore and new single-item API

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jakmro jakmro merged commit 74c816b into main Oct 3, 2025
4 checks passed
@jakmro jakmro deleted the v0.2.0-rc3 branch October 10, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant